src/hotspot/share/runtime/arguments.cpp
changeset 58894 b95bead30957
parent 58842 6c255334120d
child 58926 ecb801342b8c
--- a/src/hotspot/share/runtime/arguments.cpp	Fri Nov 01 09:07:59 2019 -0700
+++ b/src/hotspot/share/runtime/arguments.cpp	Fri Nov 01 09:39:13 2019 -0700
@@ -3147,7 +3147,13 @@
   NOT_PRODUCT(UNSUPPORTED_OPTION(TraceProfileInterpreter));
 #endif
 
-#ifndef TIERED
+
+#ifdef TIERED
+  // Parse the CompilationMode flag
+  if (!CompilationModeFlag::initialize()) {
+    return JNI_ERR;
+  }
+#else
   // Tiered compilation is undefined.
   UNSUPPORTED_OPTION(TieredCompilation);
 #endif