RFR: 8364503: Test gc/g1/TestCodeCacheUnloadDuringConcCycle.java failed
Thomas Schatzl
tschatzl at openjdk.org
Fri Aug 1 11:39:49 UTC 2025
Hi all,
please review this change to the `gc/g1/TestCodeCacheUnloadDuringConcCycle.java` test - previously, the GC that we were waiting for in the test could occur between releasing whitebox control and the marker we use to distinguish before/after test setup.
The change makes sure the marker is printed before releasing Whitebox control. So the concurrent start gc we look for can not happen before the marker printing.
Testing: passes 5000 runs of that benchmark
Thanks,
Thomas
-------------
Commit messages:
- 8364503
Changes: https://git.openjdk.org/jdk/pull/26592/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=26592&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8364503
Stats: 7 lines in 1 file changed: 6 ins; 1 del; 0 mod
Patch: https://git.openjdk.org/jdk/pull/26592.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/26592/head:pull/26592
PR: https://git.openjdk.org/jdk/pull/26592
More information about the hotspot-gc-dev
mailing list