RFR: 8319540: GC: Make TestSelectDefaultGC use createTestJavaProcessBuilder

Stefan Karlsson stefank at openjdk.org
Wed Nov 26 16:01:04 UTC 2025


On Thu, 20 Nov 2025 11:02:35 GMT, Ramkumar Sunderbabu <rsunderbabu at openjdk.org> wrote:

> Make TestSelectDefaultGC forward VM/JAVA_OPTIONS.
> 
> Testing:
> Tiers 1 to 5
> Ran with all flag combinations in CI

We now how this:

        // Start VM without specifying GC
        OutputAnalyzer output = GCArguments.executeTestJava(

It sounds to me that the comment say that we're running with out specifying a GC, but with this change we do. I think you need to update the comment or add appropriate requires line(s).

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

PR Review: https://git.openjdk.org/jdk/pull/28422#pullrequestreview-3511656109


More information about the hotspot-gc-dev mailing list