File tree 2 files changed +5
-2
lines changed
2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -390,7 +390,10 @@ class G1GCPhaseTimes : public CHeapObj<mtGC> {
390
390
}
391
391
392
392
double cur_collection_par_time_ms () {
393
- return _cur_collection_initial_evac_time_ms + _cur_optional_evac_time_ms;
393
+ return _cur_collection_initial_evac_time_ms +
394
+ _cur_optional_evac_time_ms +
395
+ _cur_merge_heap_roots_time_ms +
396
+ _cur_optional_merge_heap_roots_time_ms;
394
397
}
395
398
396
399
double cur_expand_heap_time_ms () {
Original file line number Diff line number Diff line change @@ -685,7 +685,7 @@ double G1Policy::other_time_ms(double pause_time_ms) const {
685
685
}
686
686
687
687
double G1Policy::constant_other_time_ms (double pause_time_ms) const {
688
- return other_time_ms (pause_time_ms) - phase_times ()-> total_rebuild_freelist_time_ms ( );
688
+ return other_time_ms (pause_time_ms) - ( young_other_time_ms () + non_young_other_time_ms () );
689
689
}
690
690
691
691
bool G1Policy::about_to_start_mixed_phase () const {
You can’t perform that action at this time.
0 commit comments