RFR: 8315988: Parallel: Make TestAggressiveHeap use createTestJvm [v2]

Leo Korinth lkorinth at openjdk.org
Mon Sep 18 07:17:57 UTC 2023


On Fri, 15 Sep 2023 09:18:07 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.
>
> Leo Korinth has updated the pull request incrementally with one additional commit since the last revision:
> 
>   8315988: Parallel: Make TestAggressiveHeap use createTestJvm

Thanks Albert and Thomas!

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

PR Comment: https://git.openjdk.org/jdk/pull/15657#issuecomment-1722863511


More information about the hotspot-gc-dev mailing list