src/share/vm/runtime/arguments.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File hotspot Cdiff src/share/vm/runtime/arguments.cpp

src/share/vm/runtime/arguments.cpp

Print this page

        

*** 3751,3762 **** } if (TieredCompilation) { set_tiered_flags(); } else { ! // Check if the policy is valid. Policies 0 and 1 are valid for non-tiered setup. ! if (CompilationPolicyChoice >= 2) { vm_exit_during_initialization( "Incompatible compilation policy selected", NULL); } // Scale CompileThreshold // CompileThresholdScaling == 0.0 is equivalent to -Xint and leaves CompileThreshold unchanged. --- 3751,3766 ---- } if (TieredCompilation) { set_tiered_flags(); } else { ! int max_compilation_policy_choice = 1; ! #ifdef COMPILER2 ! max_compilation_policy_choice = 2; ! #endif ! // Check if the policy is valid. ! if (CompilationPolicyChoice >= max_compilation_policy_choice) { vm_exit_during_initialization( "Incompatible compilation policy selected", NULL); } // Scale CompileThreshold // CompileThresholdScaling == 0.0 is equivalent to -Xint and leaves CompileThreshold unchanged.
src/share/vm/runtime/arguments.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File