RFR: 8358129: compiler/startup/StartupOutput.java runs into out of memory on Windows after JDK-8347406
Galder Zamarreño
galder at openjdk.org
Mon Jun 2 16:40:51 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+
What impact has this change in the time the test takes to run? If it turns out to be too slow, maybe the processes could be run batches?
-------------
PR Review: https://git.openjdk.org/jdk/pull/25582#pullrequestreview-2889190186
More information about the hotspot-compiler-dev
mailing list