RFR: 8319326: GC: Make TestParallelRefProc use createTestJavaProcessBuilder
Ramkumar Sunderbabu
rsunderbabu at openjdk.org
Tue Dec 2 13:40:17 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 == null` - 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 changed the requires condition since your comment and updated the PR description too. Please review.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/28508#issuecomment-3602116010
More information about the hotspot-gc-dev
mailing list