8006851: When TieredCompilation is set, max code cache should be bumped to 256mb
authormorris
Fri, 08 Feb 2013 15:39:43 -0800
changeset 15613 7c250aa645c5
parent 15612 d4073ad8ce3d
child 15614 3d9afca22dc7
8006851: When TieredCompilation is set, max code cache should be bumped to 256mb Summary: Set ReservedCodeCacheSize to (default value)*5 when TieredCompilation is on. Reviewed-by: kvn, twisti
hotspot/src/share/vm/runtime/arguments.cpp
--- a/hotspot/src/share/vm/runtime/arguments.cpp	Fri Feb 08 15:07:17 2013 -0800
+++ b/hotspot/src/share/vm/runtime/arguments.cpp	Fri Feb 08 15:39:43 2013 -0800
@@ -1086,7 +1086,7 @@
   }
   // Increase the code cache size - tiered compiles a lot more.
   if (FLAG_IS_DEFAULT(ReservedCodeCacheSize)) {
-    FLAG_SET_DEFAULT(ReservedCodeCacheSize, ReservedCodeCacheSize * 2);
+    FLAG_SET_DEFAULT(ReservedCodeCacheSize, ReservedCodeCacheSize * 5);
   }
 }