It is a fix of a minor test issue. The test should not fail when the JVMTI function `SetEventNotificationMode()` returns errors codes: - `JVMTI_ERROR_THREAD_NOT_ALIVE` - `JVMTI_ERROR_WRONG_PHASE`
Tested the fix locally and with mach5 test runs. ------------- Commit messages: - 8318631: GetStackTraceSuspendedStressTest.java failed with: check_jvmti_status: JVMTI function returned error: JVMTI_ERROR_THREAD_NOT_ALIVE (15) Changes: https://git.openjdk.org/jdk/pull/16488/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=16488&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8318631 Stats: 8 lines in 1 file changed: 8 ins; 0 del; 0 mod Patch: https://git.openjdk.org/jdk/pull/16488.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/16488/head:pull/16488 PR: https://git.openjdk.org/jdk/pull/16488