hotspot/src/share/vm/runtime/arguments.cpp
changeset 8667 b32929355d27
parent 8499 4f77360820d7
child 8674 303a2149d371
--- a/hotspot/src/share/vm/runtime/arguments.cpp	Thu Mar 03 23:31:45 2011 -0800
+++ b/hotspot/src/share/vm/runtime/arguments.cpp	Fri Mar 04 15:14:16 2011 -0800
@@ -1026,8 +1026,9 @@
 }
 
 void Arguments::set_tiered_flags() {
+  // With tiered, set default policy to AdvancedThresholdPolicy, which is 3.
   if (FLAG_IS_DEFAULT(CompilationPolicyChoice)) {
-    FLAG_SET_DEFAULT(CompilationPolicyChoice, 2);
+    FLAG_SET_DEFAULT(CompilationPolicyChoice, 3);
   }
   if (CompilationPolicyChoice < 2) {
     vm_exit_during_initialization(