RFR: 8323616: [JVMCI] TestInvalidJVMCIOption.java fails intermittently with NPE
Doug Simon
dnsimon at openjdk.org
Fri Jan 12 14:34:49 UTC 2024
This PR removes an assertion from `TestInvalidJVMCIOption` that can fail intermittently due to a race between JIT initialization and runtime class initialization.
The only thing the test should guarantee is that an invalid option is detected and results in a VM exit.
-------------
Commit messages:
- remove racy (and unnecessary) assertion in TestInvalidJVMCIOption
Changes: https://git.openjdk.org/jdk/pull/17397/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=17397&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8323616
Stats: 1 line in 1 file changed: 0 ins; 1 del; 0 mod
Patch: https://git.openjdk.org/jdk/pull/17397.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/17397/head:pull/17397
PR: https://git.openjdk.org/jdk/pull/17397
More information about the hotspot-compiler-dev
mailing list