Skip to content
Permalink
Browse files
8261270: MakeMethodNotCompilableTest fails with -XX:TieredStopAtLevel…
…={1,2,3}

Reviewed-by: kvn
  • Loading branch information
Igor Veresov committed Feb 7, 2021
1 parent 7a2db85 commit 0e18634b6a855f6c2a5d3c5ef1eff57161be5b08
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/hotspot/jtreg/compiler/whitebox/MakeMethodNotCompilableTest.java
@@ -201,7 +201,7 @@ private void testTier(int testedTier) {
deoptimize();
}

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

0 comments on commit 0e18634

Please sign in to comment.