RFR: 8315988: ParallelGC: Make TestAggressiveHeap use createTestJvm

Thomas Schatzl tschatzl at openjdk.org
Thu Sep 14 08:19:39 UTC 2023


On Mon, 11 Sep 2023 12:01:30 GMT, Leo Korinth <lkorinth at openjdk.org> wrote:

> Make TestAggressiveHeap use createTestJvm (so that the test forwards VM/JAVA_OPTIONS). The TestAggressiveHeap flag implicitly turns on the parallel gc, thus  `@requires vm.gc.Parallel`. 
> 
> Tested with:
> `make run-test TEST=open/test/hotspot/jtreg/gc/arguments/TestAggressiveHeap.java JTREG="JAVA_OPTIONS=-XX:+UseParallelGC"` (PASS 1)
> `make run-test TEST=open/test/hotspot/jtreg/gc/arguments/TestAggressiveHeap.java JTREG="JAVA_OPTIONS=-XX:+UseSerialGC"` (PASS 0)
> `make run-test TEST=open/test/hotspot/jtreg/gc/arguments/TestAggressiveHeap.java`(PASS 1)
> 
> Started hs_tier1, hs_tier2 to see that we do not propagate conflicting flags.

Lgtm.

Note that I changed the JBS title a little bit to be in line with others so you need to change the title of this PR too before pushing.

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

Marked as reviewed by tschatzl (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/15657#pullrequestreview-1626293012


More information about the hotspot-gc-dev mailing list