Skip to content
This repository has been archived by the owner on Sep 2, 2022. It is now read-only.
/ jdk17 Public archive

Commit

Permalink
8270908: TestParallelRefProc fails on single core machines
Browse files Browse the repository at this point in the history
Reviewed-by: tschatzl, kbarrett
  • Loading branch information
mychris authored and Kim Barrett committed Jul 28, 2021
1 parent f1e15c8 commit 6e1da64
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/hotspot/jtreg/gc/arguments/TestParallelRefProc.java
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,9 @@ public static void main(String args[]) throws Exception {
}
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;
Expand Down

1 comment on commit 6e1da64

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.