mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-22 12:04:39 +02:00
6896603: CMS/GCH: collection_attempt_is_safe() ergo should use more recent data
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
This commit is contained in:
parent
554e77efb4
commit
cbc7f8756a
14 changed files with 101 additions and 222 deletions
|
@ -1786,10 +1786,6 @@ class CommandLineFlags {
|
|||
notproduct(bool, GCALotAtAllSafepoints, false, \
|
||||
"Enforce ScavengeALot/GCALot at all potential safepoints") \
|
||||
\
|
||||
product(bool, HandlePromotionFailure, true, \
|
||||
"The youngest generation collection does not require " \
|
||||
"a guarantee of full promotion of all live objects.") \
|
||||
\
|
||||
product(bool, PrintPromotionFailure, false, \
|
||||
"Print additional diagnostic information following " \
|
||||
" promotion failure") \
|
||||
|
@ -3003,9 +2999,6 @@ class CommandLineFlags {
|
|||
product(intx, NewRatio, 2, \
|
||||
"Ratio of new/old generation sizes") \
|
||||
\
|
||||
product(uintx, MaxLiveObjectEvacuationRatio, 100, \
|
||||
"Max percent of eden objects that will be live at scavenge") \
|
||||
\
|
||||
product_pd(uintx, NewSizeThreadIncrease, \
|
||||
"Additional size added to desired new generation size per " \
|
||||
"non-daemon thread (in bytes)") \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue