Integrated: 8316973: GC: Make TestDisableDefaultGC use createTestJvm

Leo Korinth lkorinth at openjdk.org
Tue Oct 17 12:04:52 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

This pull request has now been integrated.

Changeset: 5f4be8ce
Author:    Leo Korinth <lkorinth at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/5f4be8cea980b3c2e8e5fb2067dc64b62fa0245c
Stats:     8 lines in 1 file changed: 0 ins; 0 del; 8 mod

8316973: GC: Make TestDisableDefaultGC use createTestJvm

Reviewed-by: ayang, mli, lmesnik

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

PR: https://git.openjdk.org/jdk/pull/15931


More information about the hotspot-gc-dev mailing list