Skip to content

Commit bb82005

Browse files
mychrisVladimir Kozlov
authored and
Vladimir Kozlov
committed
8270468: TestRangeCheckEliminated fails because methods are not compiled
Reviewed-by: kvn, thartmann
1 parent 057992f commit bb82005

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)