RFR: 8358129: compiler/startup/StartupOutput.java runs into out of memory on Windows after JDK-8347406
Emanuel Peter
epeter at openjdk.org
Thu Jun 12 13:04:39 UTC 2025
On Mon, 2 Jun 2025 10:57:22 GMT, Damon Fenacci <dfenacci at openjdk.org> wrote:
> The test `compiler/startup/StartupOutput.java` starts **200 VMs in a loop** , this can lead to resource shortages on some (Windows) machines.
>
> There is no real need to run those VMs concurrently (their run is short and basically check that the VM doesn't crash giving limited code cache).
>
> Running them **sequentially** should be OK and should avoid running out of memory.
>
> Testing: Tier1-3+
@dafedafe Thanks for looking into this, looks reasonable 😊
-------------
Marked as reviewed by epeter (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/25582#pullrequestreview-2921053804
More information about the hotspot-compiler-dev
mailing list