< prev index next >
src/hotspot/share/gc/g1/g1Policy.cpp
Print this page
@@ -599,11 +599,11 @@
double G1Policy::other_time_ms(double pause_time_ms) const {
return pause_time_ms - phase_times()->cur_collection_par_time_ms();
}
double G1Policy::constant_other_time_ms(double pause_time_ms) const {
- return other_time_ms(pause_time_ms) - phase_times()->total_free_cset_time_ms();
+ return other_time_ms(pause_time_ms) - phase_times()->total_free_cset_time_ms() - phase_times()->total_rebuild_freelist_time_ms();
}
bool G1Policy::about_to_start_mixed_phase() const {
return _g1h->concurrent_mark()->cm_thread()->during_cycle() || collector_state()->in_young_gc_before_mixed();
}
< prev index next >