src/share/vm/runtime/arguments.cpp

Print this page
rev 3904 : 8005071: Incremental inlining for JSR 292
Summary: post parse inlining driven by number of live nodes.
Reviewed-by:


3266               "; ignoring UseBiasedLocking flag." );
3267     }
3268     UseBiasedLocking = false;
3269   }
3270 
3271 #ifdef CC_INTERP
3272   // Clear flags not supported by the C++ interpreter
3273   FLAG_SET_DEFAULT(ProfileInterpreter, false);
3274   FLAG_SET_DEFAULT(UseBiasedLocking, false);
3275   LP64_ONLY(FLAG_SET_DEFAULT(UseCompressedOops, false));
3276   LP64_ONLY(FLAG_SET_DEFAULT(UseCompressedKlassPointers, false));
3277 #endif // CC_INTERP
3278 
3279 #ifdef COMPILER2
3280   if (!UseBiasedLocking || EmitSync != 0) {
3281     UseOptoBiasInlining = false;
3282   }
3283   if (!EliminateLocks) {
3284     EliminateNestedLocks = false;
3285   }







3286 #endif
3287 
3288   if (PrintAssembly && FLAG_IS_DEFAULT(DebugNonSafepoints)) {
3289     warning("PrintAssembly is enabled; turning on DebugNonSafepoints to gain additional output");
3290     DebugNonSafepoints = true;
3291   }
3292 
3293 #ifndef PRODUCT
3294   if (CompileTheWorld) {
3295     // Force NmethodSweeper to sweep whole CodeCache each time.
3296     if (FLAG_IS_DEFAULT(NmethodSweepFraction)) {
3297       NmethodSweepFraction = 1;
3298     }
3299   }
3300 #endif
3301 
3302   if (PrintCommandLineFlags) {
3303     CommandLineFlags::printSetFlags(tty);
3304   }
3305 




3266               "; ignoring UseBiasedLocking flag." );
3267     }
3268     UseBiasedLocking = false;
3269   }
3270 
3271 #ifdef CC_INTERP
3272   // Clear flags not supported by the C++ interpreter
3273   FLAG_SET_DEFAULT(ProfileInterpreter, false);
3274   FLAG_SET_DEFAULT(UseBiasedLocking, false);
3275   LP64_ONLY(FLAG_SET_DEFAULT(UseCompressedOops, false));
3276   LP64_ONLY(FLAG_SET_DEFAULT(UseCompressedKlassPointers, false));
3277 #endif // CC_INTERP
3278 
3279 #ifdef COMPILER2
3280   if (!UseBiasedLocking || EmitSync != 0) {
3281     UseOptoBiasInlining = false;
3282   }
3283   if (!EliminateLocks) {
3284     EliminateNestedLocks = false;
3285   }
3286   if (!Inline) {
3287     IncrementalInline = false;
3288   }
3289   if (!IncrementalInline && FLAG_IS_DEFAULT(MaxNodeLimit)) {
3290     // no incremental inlining: use a safe MaxNodeLimit
3291     FLAG_SET_DEFAULT(MaxNodeLimit, (intx)65000);
3292   }
3293 #endif
3294 
3295   if (PrintAssembly && FLAG_IS_DEFAULT(DebugNonSafepoints)) {
3296     warning("PrintAssembly is enabled; turning on DebugNonSafepoints to gain additional output");
3297     DebugNonSafepoints = true;
3298   }
3299 
3300 #ifndef PRODUCT
3301   if (CompileTheWorld) {
3302     // Force NmethodSweeper to sweep whole CodeCache each time.
3303     if (FLAG_IS_DEFAULT(NmethodSweepFraction)) {
3304       NmethodSweepFraction = 1;
3305     }
3306   }
3307 #endif
3308 
3309   if (PrintCommandLineFlags) {
3310     CommandLineFlags::printSetFlags(tty);
3311   }
3312