src/share/vm/runtime/arguments.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File hotspot Sdiff src/share/vm/runtime

src/share/vm/runtime/arguments.cpp

Print this page
rev 5761 : 8026253: New type profiling points: sparc support
Summary: c1 and interpreter support for new type profiling on sparc
Reviewed-by:


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 #ifndef X86
3731   // Only on x86 for now
3732   FLAG_SET_DEFAULT(TypeProfileLevel, 0);
3733 #endif
3734 #endif
3735 
3736   if (PrintAssembly && FLAG_IS_DEFAULT(DebugNonSafepoints)) {
3737     warning("PrintAssembly is enabled; turning on DebugNonSafepoints to gain additional output");
3738     DebugNonSafepoints = true;
3739   }
3740 
3741   if (FLAG_IS_CMDLINE(CompressedClassSpaceSize) && !UseCompressedClassPointers) {
3742     warning("Setting CompressedClassSpaceSize has no effect when compressed class pointers are not used");
3743   }
3744 
3745 #ifndef PRODUCT
3746   if (CompileTheWorld) {
3747     // Force NmethodSweeper to sweep whole CodeCache each time.
3748     if (FLAG_IS_DEFAULT(NmethodSweepFraction)) {
3749       NmethodSweepFraction = 1;
3750     }
3751   }
3752 
3753   if (!LogVMOutput && FLAG_IS_DEFAULT(LogVMOutput)) {




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)) {


src/share/vm/runtime/arguments.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File