RFR: 8319161: GC: Make TestParallelGCThreads use createTestJavaProcessBuilder
Guoxiong Li
gli at openjdk.org
Fri Dec 29 05:48:49 UTC 2023
On Tue, 31 Oct 2023 16:26:19 GMT, Leo Korinth <lkorinth at openjdk.org> wrote:
> `make run-test TEST=jtreg:test/hotspot/jtreg/gc/arguments/TestParallelGCThreads.java JTREG='VERBOSE=all;JAVA_OPTIONS='` -> pass 1
> `make run-test TEST=jtreg:test/hotspot/jtreg/gc/arguments/TestParallelGCThreads.java JTREG='VERBOSE=all;JAVA_OPTIONS=-XX:ParallelGCThreads=42' ` --> total 0
> `make run-test TEST=jtreg:test/hotspot/jtreg/gc/arguments/TestParallelGCThreads.java JTREG='VERBOSE=all;JAVA_OPTIONS=-XX:+UseG1GC' ` --> total 0
> `make run-test TEST=jtreg:test/hotspot/jtreg/gc/arguments/TestParallelGCThreads.java JTREG='VERBOSE=all;JAVA_OPTIONS=-XX:+UseParallelGC' ` -> total 0
> `make run-test TEST=jtreg:test/hotspot/jtreg/gc/arguments/TestParallelGCThreads.java JTREG='VERBOSE=all;JAVA_OPTIONS=-XX:+UseSerialGC' ` -> total 0
> `make run-test TEST=jtreg:test/hotspot/jtreg/gc/arguments/TestParallelGCThreads.java JTREG='VERBOSE=all;JAVA_OPTIONS=-XX:+UseZGC' `-> total 0
> `make run-test TEST=jtreg:test/hotspot/jtreg/gc/arguments/TestParallelGCThreads.java JTREG='VERBOSE=all;JAVA_OPTIONS=-XX:+UseShenandoahGC' `-> total 0
> `make run-test TEST=jtreg:test/hotspot/jtreg/gc/arguments/TestParallelGCThreads.java JTREG='VERBOSE=all;JAVA_OPTIONS=-XX:+UnlockExperimentalVMOptions -XX:+UseEpsilonGC' ` -> total 0
>
> I will later (before integrating) run this test together with more tests through high tier testing to see that we do not fail when rotating flags.
test/hotspot/jtreg/gc/arguments/TestParallelGCThreads.java line 93:
> 91: if (GC.Z.isSupported()) {
> 92: supportedGC.add("Z");
> 93: }
The previous comment, shown below, needs to be adjusted as well.
// For each parallel collector (G1, Parallel)
And should we also add `Shenandoah` here?
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/16434#discussion_r1437998417
More information about the hotspot-gc-dev
mailing list