src/hotspot/share/ci/ciReplay.cpp
changeset 55050 feba48c5dfb4
parent 54847 59ea39bb2809
child 58722 cba8afa5cfed
--- a/src/hotspot/share/ci/ciReplay.cpp	Mon May 27 19:46:34 2019 -0700
+++ b/src/hotspot/share/ci/ciReplay.cpp	Tue May 28 12:01:52 2019 +0530
@@ -532,7 +532,11 @@
     // old version w/o comp_level
     if (had_error() && (error_message() == comp_level_label)) {
       // use highest available tier
-      comp_level = TieredCompilation ? TieredStopAtLevel : CompLevel_highest_tier;
+      if (TieredCompilation) {
+        comp_level = TieredStopAtLevel;
+      } else {
+        comp_level = CompLevel_highest_tier;
+      }
     }
     if (!is_valid_comp_level(comp_level)) {
       return;