Skip to content

Commit 11a5bbd

Browse files
committed
8270468: TestRangeCheckEliminated fails because methods are not compiled
Backport-of: bb82005a8102dd5bb2fa2abc5c2f7255d6969e9e
1 parent a946f04 commit 11a5bbd

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/hotspot/jtreg/compiler/c1/TestRangeCheckEliminated.java

+3
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ public static void main(String[] args) throws Throwable {
5050
"-XX:TieredStopAtLevel=1",
5151
"-XX:+TraceRangeCheckElimination",
5252
"-XX:-BackgroundCompilation",
53+
"-XX:CompileThreshold=500",
5354
test_constant_array.class.getName()
5455
};
5556

@@ -69,6 +70,7 @@ public static void main(String[] args) throws Throwable {
6970
"-XX:TieredStopAtLevel=1",
7071
"-XX:+TraceRangeCheckElimination",
7172
"-XX:-BackgroundCompilation",
73+
"-XX:CompileThreshold=500",
7274
test_multi_constant_array.class.getName()
7375
};
7476

@@ -88,6 +90,7 @@ public static void main(String[] args) throws Throwable {
8890
"-XX:TieredStopAtLevel=1",
8991
"-XX:+TraceRangeCheckElimination",
9092
"-XX:-BackgroundCompilation",
93+
"-XX:CompileThreshold=500",
9194
test_multi_new_array.class.getName()
9295
};
9396

0 commit comments

Comments
 (0)