[lworld] RFR: 8377353: [lworld] compiler/valhalla/inlinetypes/TestStressReturnBuffering.java OOMs with ZGC and AOT class linking with --enable-preview
Damon Fenacci
dfenacci at openjdk.org
Fri Feb 13 08:17:35 UTC 2026
On Thu, 12 Feb 2026 16:39:35 GMT, Paul Hübner <phubner at openjdk.org> wrote:
>> # Issue
>>
>> `compiler/valhalla/inlinetypes/TestStressReturnBuffering.java` fails when run with `-XX:+AOTClassLinking -XX:+UseZGC --enable-preview`
>>
>> # Cause
>>
>> The test limits the heap size using `-Xmx6m`, which is not always enough to run it with ZGC and AOTClassLinking.
>>
>> # Fix
>>
>> Raising the limit a little to `-Xmx10m` fixes the issue (while still forcing frequent garbage collections).
>>
>> # Testing
>>
>> Tier 1-3+
>> Failing test before and after
>
> LGTM thanks!
Thanks for your reviews @Arraying @TobiHartmann.
-------------
PR Comment: https://git.openjdk.org/valhalla/pull/2093#issuecomment-3895515954
More information about the valhalla-dev
mailing list