RFR: 8344903: Improve error handling TestJhsdbJstackPrintVMLocks.java
SendaoYan
syan at openjdk.org
Mon Nov 25 01:34:26 UTC 2024
On Sat, 23 Nov 2024 13:08:13 GMT, SendaoYan <syan at openjdk.org> wrote:
> Hi all,
> The newly added test `test/hotspot/jtreg/serviceability/sa/TestJhsdbJstackPrintVMLocks.java` intermittent fails `the return value of "jdk.test.lib.apps.LingeredApp.getProcess()" is null`. This PR check `getProcess()` is null or not before invoke `destroyForcibly`. Test-fix only, the change has been verified locally, no risk.
Thanks all for the reviews.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/22342#issuecomment-2496497056
More information about the serviceability-dev
mailing list