3702
3703 #ifdef COMPILER2
3704 if (!UseBiasedLocking || EmitSync != 0) {
3705 UseOptoBiasInlining = false;
3706 }
3707 if (!EliminateLocks) {
3708 EliminateNestedLocks = false;
3709 }
3710 if (!Inline) {
3711 IncrementalInline = false;
3712 }
3713 #ifndef PRODUCT
3714 if (!IncrementalInline) {
3715 AlwaysIncrementalInline = false;
3716 }
3717 #endif
3718 if (IncrementalInline && FLAG_IS_DEFAULT(MaxNodeLimit)) {
3719 // incremental inlining: bump MaxNodeLimit
3720 FLAG_SET_DEFAULT(MaxNodeLimit, (intx)75000);
3721 }
3722 #endif
3723
3724 if (PrintAssembly && FLAG_IS_DEFAULT(DebugNonSafepoints)) {
3725 warning("PrintAssembly is enabled; turning on DebugNonSafepoints to gain additional output");
3726 DebugNonSafepoints = true;
3727 }
3728
3729 if (FLAG_IS_CMDLINE(CompressedClassSpaceSize) && !UseCompressedClassPointers) {
3730 warning("Setting CompressedClassSpaceSize has no effect when compressed class pointers are not used");
3731 }
3732
3733 #ifndef PRODUCT
3734 if (CompileTheWorld) {
3735 // Force NmethodSweeper to sweep whole CodeCache each time.
3736 if (FLAG_IS_DEFAULT(NmethodSweepFraction)) {
3737 NmethodSweepFraction = 1;
3738 }
3739 }
3740
3741 if (!LogVMOutput && FLAG_IS_DEFAULT(LogVMOutput)) {
|
3702
3703 #ifdef COMPILER2
3704 if (!UseBiasedLocking || EmitSync != 0) {
3705 UseOptoBiasInlining = false;
3706 }
3707 if (!EliminateLocks) {
3708 EliminateNestedLocks = false;
3709 }
3710 if (!Inline) {
3711 IncrementalInline = false;
3712 }
3713 #ifndef PRODUCT
3714 if (!IncrementalInline) {
3715 AlwaysIncrementalInline = false;
3716 }
3717 #endif
3718 if (IncrementalInline && FLAG_IS_DEFAULT(MaxNodeLimit)) {
3719 // incremental inlining: bump MaxNodeLimit
3720 FLAG_SET_DEFAULT(MaxNodeLimit, (intx)75000);
3721 }
3722 if (!UseTypeSpeculation && FLAG_IS_DEFAULT(TypeProfileLevel)) {
3723 // nothing to use the profiling, turn if off
3724 FLAG_SET_DEFAULT(TypeProfileLevel, 0);
3725 }
3726 if (UseTypeSpeculation && FLAG_IS_DEFAULT(ReplaceInParentMaps)) {
3727 // Doing the replace in parent maps helps speculation
3728 FLAG_SET_DEFAULT(ReplaceInParentMaps, true);
3729 }
3730 #endif
3731
3732 if (PrintAssembly && FLAG_IS_DEFAULT(DebugNonSafepoints)) {
3733 warning("PrintAssembly is enabled; turning on DebugNonSafepoints to gain additional output");
3734 DebugNonSafepoints = true;
3735 }
3736
3737 if (FLAG_IS_CMDLINE(CompressedClassSpaceSize) && !UseCompressedClassPointers) {
3738 warning("Setting CompressedClassSpaceSize has no effect when compressed class pointers are not used");
3739 }
3740
3741 #ifndef PRODUCT
3742 if (CompileTheWorld) {
3743 // Force NmethodSweeper to sweep whole CodeCache each time.
3744 if (FLAG_IS_DEFAULT(NmethodSweepFraction)) {
3745 NmethodSweepFraction = 1;
3746 }
3747 }
3748
3749 if (!LogVMOutput && FLAG_IS_DEFAULT(LogVMOutput)) {
|