--- old/src/share/vm/runtime/arguments.cpp 2013-09-13 17:13:58.773025301 +0200 +++ new/src/share/vm/runtime/arguments.cpp 2013-09-13 17:13:58.713025303 +0200 @@ -1126,6 +1126,9 @@ Tier3InvokeNotifyFreqLog = 0; Tier4InvocationThreshold = 0; } + if (FLAG_IS_DEFAULT(NmethodSweepFraction)) { + FLAG_SET_DEFAULT(NmethodSweepFraction, 1 + ReservedCodeCacheSize / (16 * M)); + } } #if INCLUDE_ALL_GCS