We currently have a few gtests which are run with the TEST_F macro and use `ZGlobalsPointers::initialize();` which on some platforms may end up doing GC precious logging, which requires the VM (mutexes) to be setup in order to work. Currently the `GTestWrapper.java` succeeds with running these test because we will have run other tests which have setup the VM.
If a filter is used or the tests are shuffled we can observe that these tests may crash.
Proposed change is to use the `ZTest` unittest base fixture and run these test with `TEST_VM_F`
If a filter is used or the tests are shuffled we can observe that these tests may crash.
Proposed change is to use the `ZTest` unittest base fixture and run these test with `TEST_VM_F`
- causes
-
JDK-8371698 ZGC: Call GTEST_SKIP when OS is unsupported
-
- Resolved
-
- links to
-
Commit(master)
openjdk/jdk/66e5a68a
-
Review(master)
openjdk/jdk/28160