--- a/hotspot/src/share/vm/gc/g1/g1CollectorPolicy.hpp Thu Oct 15 10:13:08 2015 +0200
+++ b/hotspot/src/share/vm/gc/g1/g1CollectorPolicy.hpp Thu Oct 15 10:15:08 2015 +0200
@@ -344,7 +344,7 @@
double predict_survivor_regions_evac_time() const;
bool should_update_surv_rate_group_predictors() {
- return collector_state()->last_young_gc() && !collector_state()->in_marking_window();
+ return collector_state()->last_gc_was_young() && !collector_state()->in_marking_window();
}
void cset_regions_freed() {