RFR: 8373429: gc/g1/TestCodeCacheUnloadDuringConcCycle fails on various platforms
Thomas Schatzl
tschatzl at openjdk.org
Wed Jan 7 06:32:47 UTC 2026
On Mon, 15 Dec 2025 15:52:27 GMT, Martin Doerr <mdoerr at openjdk.org> wrote:
>> 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
>
> This looks good. I just verified that this fixes the failures on AIX.
Thanks @TheRealMDoerr @MBaesken @snazarkin for your testing + reviews.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/28822#issuecomment-3717501720
More information about the hotspot-gc-dev
mailing list