Integrated: 8344903: Improve error handling TestJhsdbJstackPrintVMLocks.java
SendaoYan
syan at openjdk.org
Mon Nov 25 01:34:27 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.
This pull request has now been integrated.
Changeset: 8f08020f
Author: SendaoYan <syan at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/8f08020fa452b15709f68a702abb5edec191dee2
Stats: 4 lines in 1 file changed: 3 ins; 0 del; 1 mod
8344903: Improve error handling TestJhsdbJstackPrintVMLocks.java
Reviewed-by: lmesnik, dholmes
-------------
PR: https://git.openjdk.org/jdk/pull/22342
More information about the serviceability-dev
mailing list