RFR: 8344903: Improve error handling TestJhsdbJstackPrintVMLocks.java

David Holmes dholmes at openjdk.org
Mon Nov 25 00:57:13 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.

Okay, lets get this integrated so we can see what the real problem is.

Thanks

-------------

Marked as reviewed by dholmes (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/22342#pullrequestreview-2456924665


More information about the serviceability-dev mailing list