RFR: 8373429: gc/g1/TestCodeCacheUnloadDuringConcCycle fails on various platforms
Thomas Schatzl
tschatzl at openjdk.org
Tue Dec 16 09:29:13 UTC 2025
Hi all,
this is hopefully the last fix attempt for the [gc/g1/TestCodeCacheUnloadDuringConcCycle.java](https://github.com/openjdk/jdk/pull/28822/files#diff-6ce99d53ba7ea02f2c7f0e878f937acecbd64f3c9a6edebcef79d10983cf3c28) test that proves to be fairly unstable across some platforms.
The change adds more classes/code to be compiled during the test to fill the code cache faster, and more consistently exercise the code cachec loading.
I also opted to revert the change from https://bugs.openjdk.org/browse/JDK-8372860 because it (unsuccessfully) tried the same method. There is no need to prolong the test any more.
Testing: gha
Thanks,
Thomas
-------------
Commit messages:
- * do more compilation
- * initial version
Changes: https://git.openjdk.org/jdk/pull/28822/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=28822&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8373429
Stats: 5 lines in 1 file changed: 2 ins; 1 del; 2 mod
Patch: https://git.openjdk.org/jdk/pull/28822.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/28822/head:pull/28822
PR: https://git.openjdk.org/jdk/pull/28822
More information about the hotspot-gc-dev
mailing list