RFR: 8358129: compiler/startup/StartupOutput.java runs into out of memory on Windows after JDK-8347406

Damon Fenacci dfenacci at openjdk.org
Mon Jun 16 06:13:34 UTC 2025


On Tue, 3 Jun 2025 05:36:12 GMT, Tobias Hartmann <thartmann 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+
>
> Looks good to me.

@TobiHartmann @eme64 thanks for your reviews!

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

PR Comment: https://git.openjdk.org/jdk/pull/25582#issuecomment-2975223776


More information about the hotspot-compiler-dev mailing list