> The test has been fixed to: > - add a guard against JVMTI_ERROR_WRONG_PHASE > - replace `exit(err)` with `abort()` in the `check_jvmti_error()` > > The JVMTI `VMDeath` event is enabled and a `RawMonitor` is introduced to > serialize `ClassPrepare` and `VMDeath` events, and so, to prevent > JVMTI_ERROR_WRONG_PHASE in the `ClassPrepare` events. > > Testing: > - run the test AllowedFunctions.java locally > - TBD: submit a mach5 run for fixed test
Serguei Spitsyn has updated the pull request incrementally with one additional commit since the last revision: introduced is_vm_dead flag to prevent WRONG_PHASE error ------------- Changes: - all: https://git.openjdk.org/jdk/pull/20397/files - new: https://git.openjdk.org/jdk/pull/20397/files/1671dab0..4cf09f7b Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=20397&range=02 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=20397&range=01-02 Stats: 13 lines in 1 file changed: 8 ins; 2 del; 3 mod Patch: https://git.openjdk.org/jdk/pull/20397.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/20397/head:pull/20397 PR: https://git.openjdk.org/jdk/pull/20397