comparison src/share/vm/runtime/arguments.cpp @ 1888:a7214d79fcf1

6896603: CMS/GCH: collection_attempt_is_safe() ergo should use more recent data Summary: Deprecated HandlePromotionFailure, removing the ability to turn off that feature, did away with one epoch look-ahead when deciding if a scavenge is likely to fail, relying on current data. Reviewed-by: jmasa, johnc, poonam
author ysr
date Sat, 23 Oct 2010 23:03:49 -0700
parents 22e4420d19f7
children f5c8d6e5bfee
comparison
equal deleted inserted replaced
1887:cd3ef3fd20dd 1888:a7214d79fcf1
183 { "DefaultMaxRAM", JDK_Version::jdk_update(6,18), JDK_Version::jdk(7) }, 183 { "DefaultMaxRAM", JDK_Version::jdk_update(6,18), JDK_Version::jdk(7) },
184 { "DefaultInitialRAMFraction", 184 { "DefaultInitialRAMFraction",
185 JDK_Version::jdk_update(6,18), JDK_Version::jdk(7) }, 185 JDK_Version::jdk_update(6,18), JDK_Version::jdk(7) },
186 { "UseDepthFirstScavengeOrder", 186 { "UseDepthFirstScavengeOrder",
187 JDK_Version::jdk_update(6,22), JDK_Version::jdk(7) }, 187 JDK_Version::jdk_update(6,22), JDK_Version::jdk(7) },
188 { "HandlePromotionFailure",
189 JDK_Version::jdk_update(6,24), JDK_Version::jdk(8) },
190 { "MaxLiveObjectEvacuationRatio",
191 JDK_Version::jdk_update(6,24), JDK_Version::jdk(8) },
188 { NULL, JDK_Version(0), JDK_Version(0) } 192 { NULL, JDK_Version(0), JDK_Version(0) }
189 }; 193 };
190 194
191 // Returns true if the flag is obsolete and fits into the range specified 195 // Returns true if the flag is obsolete and fits into the range specified
192 // for being ignored. In the case that the flag is ignored, the 'version' 196 // for being ignored. In the case that the flag is ignored, the 'version'
1720 "not " SIZE_FORMAT "\n", 1724 "not " SIZE_FORMAT "\n",
1721 TLABRefillWasteFraction); 1725 TLABRefillWasteFraction);
1722 status = false; 1726 status = false;
1723 } 1727 }
1724 1728
1725 status = status && verify_percentage(MaxLiveObjectEvacuationRatio,
1726 "MaxLiveObjectEvacuationRatio");
1727 status = status && verify_percentage(AdaptiveSizePolicyWeight, 1729 status = status && verify_percentage(AdaptiveSizePolicyWeight,
1728 "AdaptiveSizePolicyWeight"); 1730 "AdaptiveSizePolicyWeight");
1729 status = status && verify_percentage(AdaptivePermSizeWeight, "AdaptivePermSizeWeight"); 1731 status = status && verify_percentage(AdaptivePermSizeWeight, "AdaptivePermSizeWeight");
1730 status = status && verify_percentage(ThresholdTolerance, "ThresholdTolerance"); 1732 status = status && verify_percentage(ThresholdTolerance, "ThresholdTolerance");
1731 status = status && verify_percentage(MinHeapFreeRatio, "MinHeapFreeRatio"); 1733 status = status && verify_percentage(MinHeapFreeRatio, "MinHeapFreeRatio");