src/share/vm/runtime/arguments.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File
*** old/src/share/vm/runtime/arguments.cpp	Tue Jun 30 13:11:12 2015
--- new/src/share/vm/runtime/arguments.cpp	Tue Jun 30 13:11:12 2015

*** 3751,3762 **** --- 3751,3766 ---- } 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) { + 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