8186402: [TESTBUG] "Balance queues" output expected by test
Changed to use 2 ParallelGCThreads to guarantee generating 'Balance queues' log Reviewed-by: tschatzl, aharlap
This commit is contained in:
parent
d410c4def0
commit
cc97e03ea1
@ -23,7 +23,7 @@
|
||||
|
||||
/*
|
||||
* @test TestPrintReferences
|
||||
* @bug 8136991
|
||||
* @bug 8136991 8186402
|
||||
* @summary Validate the reference processing logging
|
||||
* @key gc
|
||||
* @library /test/lib
|
||||
@ -42,6 +42,8 @@ public class TestPrintReferences {
|
||||
ProcessBuilder pb_enabled = ProcessTools.createJavaProcessBuilder("-Xlog:gc+phases+ref=debug",
|
||||
"-XX:+UseG1GC",
|
||||
"-Xmx10M",
|
||||
// Explicit thread setting is required to avoid using only 1 thread
|
||||
"-XX:ParallelGCThreads=2",
|
||||
GCTest.class.getName());
|
||||
OutputAnalyzer output = new OutputAnalyzer(pb_enabled.start());
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user