Skip to content

Commit 4abe531

Browse files
committedAug 5, 2021
8271722: [TESTBUG] gc/g1/TestMixedGCLiveThreshold.java can fail if G1 Full GC uses >1 workers
Reviewed-by: ayang, tschatzl
1 parent ea9a595 commit 4abe531

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed
 

‎test/hotspot/jtreg/gc/g1/TestMixedGCLiveThreshold.java

+2
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,8 @@ private static OutputAnalyzer testWithMixedGCLiveThresholdPercent(int percent) t
9999
"-XX:+UnlockDiagnosticVMOptions",
100100
"-XX:+UnlockExperimentalVMOptions",
101101
"-XX:+WhiteBoxAPI",
102+
// Parallel full gc can distribute live objects into different regions.
103+
"-XX:ParallelGCThreads=1",
102104
"-Xlog:gc+remset+tracking=trace",
103105
"-Xms10M",
104106
"-Xmx10M"});

0 commit comments

Comments
 (0)
Please sign in to comment.