src/hotspot/share/compiler/compilerDefinitions.cpp
changeset 58926 ecb801342b8c
parent 58894 b95bead30957
child 59027 65dc025d5e7e
--- a/src/hotspot/share/compiler/compilerDefinitions.cpp	Thu Oct 31 07:53:16 2019 +0100
+++ b/src/hotspot/share/compiler/compilerDefinitions.cpp	Tue Nov 05 09:37:20 2019 +0800
@@ -211,7 +211,6 @@
   }
 }
 
-#endif // TIERED
 
 void CompilerConfig::set_tiered_flags() {
   // Increase the code cache size - tiered compiles a lot more.
@@ -292,6 +291,8 @@
   }
 }
 
+#endif // TIERED
+
 #if INCLUDE_JVMCI
 void set_jvmci_specific_flags() {
   if (UseJVMCICompiler) {
@@ -474,9 +475,12 @@
   set_jvmci_specific_flags();
 #endif
 
+#ifdef TIERED
   if (TieredCompilation) {
     set_tiered_flags();
-  } else {
+  } else
+#endif
+  {
     // Scale CompileThreshold
     // CompileThresholdScaling == 0.0 is equivalent to -Xint and leaves CompileThreshold unchanged.
     if (!FLAG_IS_DEFAULT(CompileThresholdScaling) && CompileThresholdScaling > 0.0) {