Skip to content

Commit 949be7e

Browse files
committed
if heap dump cannot be taken via Attach API, try to use JMX
1 parent e0044da commit 949be7e

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

visualvm/jvm/src/com/sun/tools/visualvm/jvm/JVMImpl.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,6 @@ public File takeHeapDump() throws IOException {
387387
if (attach.takeHeapDump(dumpFile.getAbsolutePath())) {
388388
return dumpFile;
389389
}
390-
return null;
391390
}
392391
if (getJmxModel().takeHeapDump(dumpFile.getAbsolutePath())) {
393392
return dumpFile;

0 commit comments

Comments
 (0)