-
Enhancement
-
Resolution: Fixed
-
P4
-
None
-
b12
Currently G1 uses the (random) constant InitialSurvivorRate for survival rate for initializing newly used young regions.
While using InitialSurvivorRate is good because it is fairly conservative (0.4), it is bad for many situations because it has nothing to do with the actual application behavior.
Further particularly since values at the end of this array are seldom updated, the value hardly changes, inhibiting young gen expansion somewhat.
The suggestion is, when expanding the array, to use the survivor rate of the last element in the array.
While using InitialSurvivorRate is good because it is fairly conservative (0.4), it is bad for many situations because it has nothing to do with the actual application behavior.
Further particularly since values at the end of this array are seldom updated, the value hardly changes, inhibiting young gen expansion somewhat.
The suggestion is, when expanding the array, to use the survivor rate of the last element in the array.
- causes
-
JDK-8350758 G1: Use actual last prediction in accumulated survivor rate prediction too
-
- Resolved
-
- relates to
-
JDK-8350643 G1: Make loop iteration variable type correspond to limit in G1SurvRateGroup
-
- Resolved
-
- links to
-
Commit(master) openjdk/jdk/aac9cb45
-
Review(master) openjdk/jdk/23584