We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ca3bbb commit 4334a79Copy full SHA for 4334a79
visualvm/jmx/src/org/graalvm/visualvm/jmx/impl/JmxSupport.java
@@ -408,6 +408,7 @@ String getFlagValue(String name) {
408
}
409
410
HeapHistogram takeHeapHistogram() {
411
+ if (isReadOnlyConnection()) return null;
412
String histo = executeJCmd(HISTOGRAM_COMMAND, Collections.singletonMap(ALL_OBJECTS_OPTION, null));
413
if (histo != null) {
414
return new HeapHistogramImpl((String)histo);
0 commit comments