# HG changeset patch # User morris # Date 1360366783 28800 # Node ID 7c250aa645c5130a149817d3a5899317bf69b4f7 # Parent d4073ad8ce3db4356aac9e6b2eeb1eaa90e75cfa 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 diff -r d4073ad8ce3d -r 7c250aa645c5 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); } }