RFR: 8316973: GC: Make TestDisableDefaultGC use createTestJvm
Hamlin Li
mli at openjdk.org
Sun Oct 1 10:43:33 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
Marked as reviewed by mli (Reviewer).
-------------
PR Review: https://git.openjdk.org/jdk/pull/15931#pullrequestreview-1651880228
More information about the hotspot-gc-dev
mailing list