On Thu, 12 Feb 2026 16:03:34 GMT, Damon Fenacci <[email protected]> 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

This pull request has now been integrated.

Changeset: 8560dd4b
Author:    Damon Fenacci <[email protected]>
URL:       
https://git.openjdk.org/valhalla/commit/8560dd4b3b203d89c07dc2d67c8caf23e1f0b77b
Stats:     1 line in 1 file changed: 0 ins; 0 del; 1 mod

8377353: [lworld] compiler/valhalla/inlinetypes/TestStressReturnBuffering.java 
OOMs with ZGC and AOT class linking with --enable-preview

Reviewed-by: phubner, thartmann

-------------

PR: https://git.openjdk.org/valhalla/pull/2093

Reply via email to