Skip to content

Commit 0e18634

Browse files
author
Igor Veresov
committed
8261270: MakeMethodNotCompilableTest fails with -XX:TieredStopAtLevel={1,2,3}
Reviewed-by: kvn
1 parent 7a2db85 commit 0e18634

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/hotspot/jtreg/compiler/whitebox/MakeMethodNotCompilableTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ private void testTier(int testedTier) {
201201
deoptimize();
202202
}
203203

204-
if (!isCompilable(COMP_LEVEL_ANY)) {
204+
if (!isCompilable(COMP_LEVEL_ANY) && TIERED_STOP_AT_LEVEL == COMP_LEVEL_FULL_OPTIMIZATION) {
205205
throw new RuntimeException(method
206206
+ " must be compilable at 'CompLevel::CompLevel_any'"
207207
+ ", if it is not compilable only at " + testedTier);

0 commit comments

Comments
 (0)