4497 #ifndef PRODUCT 4498 if (!IncrementalInline) { 4499 AlwaysIncrementalInline = false; 4500 } 4501 #endif 4502 if (!UseTypeSpeculation && FLAG_IS_DEFAULT(TypeProfileLevel)) { 4503 // nothing to use the profiling, turn if off 4504 FLAG_SET_DEFAULT(TypeProfileLevel, 0); 4505 } 4506 #endif 4507 4508 if (PrintAssembly && FLAG_IS_DEFAULT(DebugNonSafepoints)) { 4509 warning("PrintAssembly is enabled; turning on DebugNonSafepoints to gain additional output"); 4510 DebugNonSafepoints = true; 4511 } 4512 4513 if (FLAG_IS_CMDLINE(CompressedClassSpaceSize) && !UseCompressedClassPointers) { 4514 warning("Setting CompressedClassSpaceSize has no effect when compressed class pointers are not used"); 4515 } 4516 4517 #ifndef PRODUCT 4518 if (!LogVMOutput && FLAG_IS_DEFAULT(LogVMOutput)) { 4519 if (use_vm_log()) { 4520 LogVMOutput = true; 4521 } 4522 } 4523 #endif // PRODUCT 4524 4525 if (PrintCommandLineFlags) { 4526 CommandLineFlags::printSetFlags(tty); 4527 } 4528 4529 // Apply CPU specific policy for the BiasedLocking 4530 if (UseBiasedLocking) { 4531 if (!VM_Version::use_biased_locking() && 4532 !(FLAG_IS_CMDLINE(UseBiasedLocking))) { 4533 UseBiasedLocking = false; 4534 } 4535 } 4536 #ifdef COMPILER2 | 4497 #ifndef PRODUCT 4498 if (!IncrementalInline) { 4499 AlwaysIncrementalInline = false; 4500 } 4501 #endif 4502 if (!UseTypeSpeculation && FLAG_IS_DEFAULT(TypeProfileLevel)) { 4503 // nothing to use the profiling, turn if off 4504 FLAG_SET_DEFAULT(TypeProfileLevel, 0); 4505 } 4506 #endif 4507 4508 if (PrintAssembly && FLAG_IS_DEFAULT(DebugNonSafepoints)) { 4509 warning("PrintAssembly is enabled; turning on DebugNonSafepoints to gain additional output"); 4510 DebugNonSafepoints = true; 4511 } 4512 4513 if (FLAG_IS_CMDLINE(CompressedClassSpaceSize) && !UseCompressedClassPointers) { 4514 warning("Setting CompressedClassSpaceSize has no effect when compressed class pointers are not used"); 4515 } 4516 4517 if (UseOnStackReplacement && !UseLoopCounter) { 4518 warning("On-stack-replacement requires loop counters; enabling loop counters"); 4519 FLAG_SET_DEFAULT(UseLoopCounter, true); 4520 } 4521 4522 #ifndef PRODUCT 4523 if (!LogVMOutput && FLAG_IS_DEFAULT(LogVMOutput)) { 4524 if (use_vm_log()) { 4525 LogVMOutput = true; 4526 } 4527 } 4528 #endif // PRODUCT 4529 4530 if (PrintCommandLineFlags) { 4531 CommandLineFlags::printSetFlags(tty); 4532 } 4533 4534 // Apply CPU specific policy for the BiasedLocking 4535 if (UseBiasedLocking) { 4536 if (!VM_Version::use_biased_locking() && 4537 !(FLAG_IS_CMDLINE(UseBiasedLocking))) { 4538 UseBiasedLocking = false; 4539 } 4540 } 4541 #ifdef COMPILER2 |