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 a83cfe2 commit 8f08020Copy full SHA for 8f08020
test/hotspot/jtreg/serviceability/sa/TestJhsdbJstackPrintVMLocks.java
@@ -79,7 +79,10 @@ public static void main(String[] args) throws Exception {
79
}
80
throw new RuntimeException("Not able to find lock");
81
} finally {
82
- theApp.getProcess().destroyForcibly();
+ if (theApp.getProcess() != null) {
83
+ theApp.deleteLock();
84
+ theApp.getProcess().destroyForcibly();
85
+ }
86
87
88
0 commit comments