4420 || !JVMCIUseFastLocking 4421 #endif 4422 ) { 4423 if (!FLAG_IS_DEFAULT(UseBiasedLocking) && UseBiasedLocking) { 4424 // flag set to true on command line; warn the user that they 4425 // can't enable biased locking here 4426 warning("Biased Locking is not supported with locking debug flags" 4427 "; ignoring UseBiasedLocking flag." ); 4428 } 4429 UseBiasedLocking = false; 4430 } 4431 4432 #ifdef CC_INTERP 4433 // Clear flags not supported on zero. 4434 FLAG_SET_DEFAULT(ProfileInterpreter, false); 4435 FLAG_SET_DEFAULT(UseBiasedLocking, false); 4436 LP64_ONLY(FLAG_SET_DEFAULT(UseCompressedOops, false)); 4437 LP64_ONLY(FLAG_SET_DEFAULT(UseCompressedClassPointers, false)); 4438 #endif // CC_INTERP 4439 4440 #ifdef COMPILER2 4441 if (!EliminateLocks) { 4442 EliminateNestedLocks = false; 4443 } 4444 if (!Inline) { 4445 IncrementalInline = false; 4446 } 4447 #ifndef PRODUCT 4448 if (!IncrementalInline) { 4449 AlwaysIncrementalInline = false; 4450 } 4451 #endif 4452 if (!UseTypeSpeculation && FLAG_IS_DEFAULT(TypeProfileLevel)) { 4453 // nothing to use the profiling, turn if off 4454 FLAG_SET_DEFAULT(TypeProfileLevel, 0); 4455 } 4456 #endif 4457 4458 if (PrintAssembly && FLAG_IS_DEFAULT(DebugNonSafepoints)) { 4459 warning("PrintAssembly is enabled; turning on DebugNonSafepoints to gain additional output"); | 4420 || !JVMCIUseFastLocking 4421 #endif 4422 ) { 4423 if (!FLAG_IS_DEFAULT(UseBiasedLocking) && UseBiasedLocking) { 4424 // flag set to true on command line; warn the user that they 4425 // can't enable biased locking here 4426 warning("Biased Locking is not supported with locking debug flags" 4427 "; ignoring UseBiasedLocking flag." ); 4428 } 4429 UseBiasedLocking = false; 4430 } 4431 4432 #ifdef CC_INTERP 4433 // Clear flags not supported on zero. 4434 FLAG_SET_DEFAULT(ProfileInterpreter, false); 4435 FLAG_SET_DEFAULT(UseBiasedLocking, false); 4436 LP64_ONLY(FLAG_SET_DEFAULT(UseCompressedOops, false)); 4437 LP64_ONLY(FLAG_SET_DEFAULT(UseCompressedClassPointers, false)); 4438 #endif // CC_INTERP 4439 4440 #if defined(COMPILER1) && !(defined(COMPILER2) || INCLUDE_JVMCI) 4441 if (ProfileInterpreter) { 4442 warning("Interpreter profiling is not supported in Client VM"); 4443 FLAG_SET_DEFAULT(ProfileInterpreter, false); 4444 } 4445 #endif 4446 4447 #ifdef COMPILER2 4448 if (!EliminateLocks) { 4449 EliminateNestedLocks = false; 4450 } 4451 if (!Inline) { 4452 IncrementalInline = false; 4453 } 4454 #ifndef PRODUCT 4455 if (!IncrementalInline) { 4456 AlwaysIncrementalInline = false; 4457 } 4458 #endif 4459 if (!UseTypeSpeculation && FLAG_IS_DEFAULT(TypeProfileLevel)) { 4460 // nothing to use the profiling, turn if off 4461 FLAG_SET_DEFAULT(TypeProfileLevel, 0); 4462 } 4463 #endif 4464 4465 if (PrintAssembly && FLAG_IS_DEFAULT(DebugNonSafepoints)) { 4466 warning("PrintAssembly is enabled; turning on DebugNonSafepoints to gain additional output"); |