comparison src/share/vm/runtime/arguments.cpp @ 1188:99af867dfa05

6919886: Sweep CodeCache more aggressively to reduce its usage for CompileTheWorld Summary: Add safepoint after CompileTheWorldSafepointInterval (100) compilations and do full sweep of CodeCache each time. Reviewed-by: never Contributed-by: eric.caspole@amd.com
author kvn
date Tue, 26 Jan 2010 08:53:24 -0800
parents 1fc01a2425ce
children 745c853ee57f 576e77447e3c
comparison
equal deleted inserted replaced
1187:cf0685d550f1 1188:99af867dfa05
2813 if (PrintAssembly && FLAG_IS_DEFAULT(DebugNonSafepoints)) { 2813 if (PrintAssembly && FLAG_IS_DEFAULT(DebugNonSafepoints)) {
2814 warning("PrintAssembly is enabled; turning on DebugNonSafepoints to gain additional output"); 2814 warning("PrintAssembly is enabled; turning on DebugNonSafepoints to gain additional output");
2815 DebugNonSafepoints = true; 2815 DebugNonSafepoints = true;
2816 } 2816 }
2817 2817
2818 #ifndef PRODUCT
2819 if (CompileTheWorld) {
2820 // Force NmethodSweeper to sweep whole CodeCache each time.
2821 if (FLAG_IS_DEFAULT(NmethodSweepFraction)) {
2822 NmethodSweepFraction = 1;
2823 }
2824 }
2825 #endif
2826
2818 if (PrintCommandLineFlags) { 2827 if (PrintCommandLineFlags) {
2819 CommandLineFlags::printSetFlags(); 2828 CommandLineFlags::printSetFlags();
2820 } 2829 }
2821 2830
2822 if (PrintFlagsFinal) { 2831 if (PrintFlagsFinal) {