diff src/share/vm/runtime/arguments.cpp @ 5176:af59b4dfc9e4

compilation queue changes: * new CiCompilationStatistics * added new HotSpot compilation policy (-XX:CompilationPolicyChoice=4) * compile queue prioritizing (-G:+PriorityCompileQueue) * low-priority compilation threads (-G:+SlowCompileThreads) * dynamic compilation thread priority adjustment (-G:+DynamicCompilePriority)
author Lukas Stadler <lukas.stadler@jku.at>
date Thu, 29 Mar 2012 18:43:30 +0200
parents cfdb3c24bd6c
children 22fe762332af
line wrap: on
line diff
--- a/src/share/vm/runtime/arguments.cpp	Thu Mar 29 13:23:34 2012 +0200
+++ b/src/share/vm/runtime/arguments.cpp	Thu Mar 29 18:43:30 2012 +0200
@@ -3231,7 +3231,7 @@
     set_tiered_flags();
   } else {
     // Check if the policy is valid. Policies 0 and 1 are valid for non-tiered setup.
-    if (CompilationPolicyChoice >= 2) {
+    if (CompilationPolicyChoice >= 2 && CompilationPolicyChoice < 4) {
       vm_exit_during_initialization(
         "Incompatible compilation policy selected", NULL);
     }