RFR: 8315988: ParallelGC: Make TestAggressiveHeap use createTestJvm
Leo Korinth
lkorinth at openjdk.org
Mon Sep 11 13:39:41 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.
hs-tier1-5 has passed.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/15657#issuecomment-1713899768
More information about the hotspot-gc-dev
mailing list