[lworld] Integrated: 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:36 UTC 2026
On Thu, 12 Feb 2026 16:03:34 GMT, Damon Fenacci <dfenacci 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
This pull request has now been integrated.
Changeset: 8560dd4b
Author: Damon Fenacci <dfenacci at openjdk.org>
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
More information about the valhalla-dev
mailing list