RFR: 8319326: GC: Make TestParallelRefProc use createTestJavaProcessBuilder
Ramkumar Sunderbabu
rsunderbabu at openjdk.org
Fri Nov 28 14:43:48 UTC 2025
On Wed, 26 Nov 2025 15:28:16 GMT, Stefan Karlsson <stefank at openjdk.org> wrote:
>> Summary of change:
>> executeLimitedTestJava changed to executeTestJava to allow flags to be propagated to forked processes.
>> @requires vm.gc.Serial & vm.gc.G1 - this line is added to skip runs that use GC flags in test vm options. Allowing GC flags will result in VM initialization error ("Multiple garbage collectors selected").
>>
>> Testing:
>> HS Tiers 1 and 2
>> Ran with all flag combinations in CI
>
> Can you write a description in the PR why this change is correct? The test also supports Parallel GC, but there are requires lines for Serial and G1.
@stefank I have created an enhancement for a better readable property JDK-8372748.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/28508#issuecomment-3589577122
More information about the hotspot-gc-dev
mailing list