-
Type:
Bug
-
Resolution: Fixed
-
Priority:
P4
-
Affects Version/s: 9
-
Component/s: hotspot
-
b89
| Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
|---|---|---|---|---|---|---|
| JDK-8142720 | emb-9 | Thomas Schatzl | P4 | Resolved | Fixed | team |
G1CollectorPolicy::should_should_update_surv_rate_group_predictors() determines whether the survivor rate group predictors should be updated.
The current method uses CollectorState::last_young_gc() && !CollectorState::in_marking_window(), which means "only the gc between GC cleanup and mixed GC".
The first term is wrong, particularly when looking at the original code beforeJDK-7097567: it should be CollectorState::last_gc_was_young() && !CollectorState::in_marking_window(), i.e. all young gcs where no marking is running.
Fix this.
The current method uses CollectorState::last_young_gc() && !CollectorState::in_marking_window(), which means "only the gc between GC cleanup and mixed GC".
The first term is wrong, particularly when looking at the original code before
Fix this.
- backported by
-
JDK-8142720 G1CollectorPolicy::should_should_update_surv_rate_group_predictors() uses wrong predicate
-
- Resolved
-
- relates to
-
JDK-8136677 Adaptive sizing for IHOP in G1
-
- Resolved
-
-
JDK-7097567 G1: abstract and encapsulate collector phases and transitions between them
-
- Resolved
-