mirror of
https://github.com/openjdk/jdk.git
synced 2026-05-26 21:38:10 +00:00
8270908: TestParallelRefProc fails on single core machines
Reviewed-by: tschatzl, kbarrett
This commit is contained in:
parent
f1e15c8c8f
commit
6e1da6440b
@ -51,7 +51,9 @@ public class TestParallelRefProc {
|
||||
}
|
||||
if (GC.Parallel.isSupported()) {
|
||||
noneGCSupported = false;
|
||||
testFlag(new String[] { "-XX:+UseParallelGC" }, true);
|
||||
testFlag(new String[] { "-XX:+UseParallelGC", "-XX:ParallelGCThreads=1" }, false);
|
||||
testFlag(new String[] { "-XX:+UseParallelGC", "-XX:ParallelGCThreads=2" }, true);
|
||||
testFlag(new String[] { "-XX:+UseParallelGC", "-XX:-ParallelRefProcEnabled", "-XX:ParallelGCThreads=2" }, false);
|
||||
}
|
||||
if (GC.G1.isSupported()) {
|
||||
noneGCSupported = false;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user