RFR: 8321687: Test vmTestbase/nsk/jvmti/scenarios/contention/TC03/tc03t002/TestDescription.java failed: JVMTI_ERROR_THREAD_NOT_ALIVE [v3]
Leonid Mesnik
lmesnik at openjdk.org
Wed Oct 15 23:59:33 UTC 2025
> Test might fail with
>
> ----------System.out:(5/399)----------
> The following fake exception stacktrace is for failure analysis.
> nsk.share.Fake_Exception_for_RULE_Creation: (tc03t002.cpp:144) jvmti->GetCurrentContendedMonitor(threadList[pThread].thread, &monitor)
> at nsk_lvcomplain(nsk_tools.cpp:172)
> # ERROR: tc03t002.cpp, 144: jvmti->GetCurrentContendedMonitor(threadList[pThread].thread, &monitor)
> # jvmti error: code=15, name=JVMTI_ERROR_THREAD_NOT_ALIVE
>
> if some of threads unexpectedly finishes during test execution.
>
>
> It might happens only for some tests that are not started and verified by thread. So the fix is to skip them and verify only "Debugee" threads that might be in the deadlock.
Leonid Mesnik has updated the pull request incrementally with one additional commit since the last revision:
added one more test
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/27831/files
- new: https://git.openjdk.org/jdk/pull/27831/files/385b3e00..80fc4d55
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=27831&range=02
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=27831&range=01-02
Stats: 17 lines in 3 files changed: 13 ins; 0 del; 4 mod
Patch: https://git.openjdk.org/jdk/pull/27831.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/27831/head:pull/27831
PR: https://git.openjdk.org/jdk/pull/27831
More information about the serviceability-dev
mailing list