RFR: 8316973: GC: Make TestDisableDefaultGC use createTestJvm
Leo Korinth
lkorinth at openjdk.org
Tue Oct 17 12:01:11 UTC 2023
On Tue, 26 Sep 2023 17:24:22 GMT, Leo Korinth <lkorinth at openjdk.org> wrote:
> There seems there is no need to strip external vm flags. The `@requires vm.gc=="null"` will handle the case when we iterate different GCs and we will then just skip the test.
>
> Tested with:
> `make run-test TEST=open/test/hotspot/jtreg/gc/arguments/TestDisableDefaultGC.java JTREG='RETAIN=all;VERBOSE=all;JAVA_OPTIONS=-XX:+UseG1GC'` -> total 0
> `make run-test TEST=open/test/hotspot/jtreg/gc/arguments/TestDisableDefaultGC.java` -> success
>
> started tier 1-5
Thanks Albert, Hamlin and Leonid!
-------------
PR Comment: https://git.openjdk.org/jdk/pull/15931#issuecomment-1766269611
More information about the hotspot-gc-dev
mailing list