File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed
test/jdk/java/lang/Thread/virtual/stress Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -53,8 +53,8 @@ public static void main(String[] args) throws Exception {
5353
5454 int iterations ;
5555 int value = Integer .parseInt (args [0 ]);
56- if (Platform .isOSX () && Platform . isX64 () ) {
57- // reduced iterations on macosx-x64
56+ if (Platform .isOSX ()) {
57+ // reduced iterations on macosx
5858 iterations = Math .max (value / 4 , 1 );
5959 } else {
6060 iterations = value ;
Original file line number Diff line number Diff line change @@ -56,8 +56,8 @@ public static void main(String[] args) throws Exception {
5656
5757 int iterations ;
5858 int value = Integer .parseInt (args [0 ]);
59- if (Platform .isOSX () && Platform . isX64 () ) {
60- // reduced iterations on macosx-x64
59+ if (Platform .isOSX ()) {
60+ // reduced iterations on macosx
6161 iterations = Math .max (value / 4 , 1 );
6262 } else {
6363 iterations = value ;
Original file line number Diff line number Diff line change @@ -49,8 +49,8 @@ public class ParkALot {
4949 public static void main (String [] args ) throws Exception {
5050 int iterations ;
5151 int value = Integer .parseInt (args [0 ]);
52- if (Platform .isOSX () && Platform . isX64 () ) {
53- // reduced iterations on macosx-x64
52+ if (Platform .isOSX ()) {
53+ // reduced iterations on macosx
5454 iterations = Math .max (value / 4 , 1 );
5555 } else {
5656 iterations = value ;
You can’t perform that action at this time.
0 commit comments