< prev index next >
src/hotspot/share/gc/g1/g1Policy.cpp
Print this page
rev 59939 : [mq]: 8243974-investigate-millis-since-last-gc-move
*** 59,69 ****
_remset_tracker(),
_mmu_tracker(new G1MMUTrackerQueue(GCPauseIntervalMillis / 1000.0, MaxGCPauseMillis / 1000.0)),
_ihop_control(create_ihop_control(&_predictor)),
_policy_counters(new GCPolicyCounters("GarbageFirst", 1, 2)),
_full_collection_start_sec(0.0),
- _time_of_last_gc_ns(os::javaTimeNanos()),
_young_list_desired_length(0),
_young_list_target_length(0),
_young_list_max_length(0),
_eden_surv_rate_group(new G1SurvRateGroup()),
_survivor_surv_rate_group(new G1SurvRateGroup()),
--- 59,68 ----
*** 749,760 ****
bool update_stats = !_g1h->evacuation_failed();
record_pause(young_gc_pause_kind(), end_time_sec - pause_time_ms / 1000.0, end_time_sec);
- _time_of_last_gc_ns = os::javaTimeNanos();
-
this_pause_included_initial_mark = collector_state()->in_initial_mark_gc();
if (this_pause_included_initial_mark) {
record_concurrent_mark_init_end(0.0);
} else {
maybe_start_marking();
--- 748,757 ----
< prev index next >