< prev index next >
src/share/vm/gc/g1/g1IHOPControl.cpp
Print this page
rev 9310 : dihop-changes
rev 9311 : imported patch sihop-thomas-review
rev 9312 : imported patch 8136678-implement-adaptive-sizing-algorithm-for-IHOP
rev 9313 : imported patch aihop-thomas-review
rev 9314 : imported patch 8136679-jfr-event-for-dynamic-ihop
rev 9315 : imported patch sangheon-review
*** 58,68 ****
G1CollectedHeap::heap()->used(),
_last_allocation_time_s > 0.0 ? _last_allocated_bytes / _last_allocation_time_s : 0.0,
_last_marking_length_s);
}
! void G1StaticIHOPControl::send_jfr_event(G1NewTracer* tracer) {
tracer->report_basic_ihop_statistics(get_conc_mark_start_threshold(),
_target_occupancy,
G1CollectedHeap::heap()->used(),
_last_allocated_bytes,
_last_allocation_time_s,
--- 58,68 ----
G1CollectedHeap::heap()->used(),
_last_allocation_time_s > 0.0 ? _last_allocated_bytes / _last_allocation_time_s : 0.0,
_last_marking_length_s);
}
! void G1StaticIHOPControl::send_event(G1NewTracer* tracer) {
tracer->report_basic_ihop_statistics(get_conc_mark_start_threshold(),
_target_occupancy,
G1CollectedHeap::heap()->used(),
_last_allocated_bytes,
_last_allocation_time_s,
*** 192,202 ****
_predictor->get_new_prediction(&_marking_times_s),
have_enough_data_for_prediction() ? "true" : "false"
);
}
! void G1AdaptiveIHOPControl::send_jfr_event(G1NewTracer* tracer) {
tracer->report_basic_ihop_statistics(get_conc_mark_start_threshold(),
_target_occupancy,
G1CollectedHeap::heap()->used(),
_last_allocation_bytes,
_allocation_rate_s.last(),
--- 192,202 ----
_predictor->get_new_prediction(&_marking_times_s),
have_enough_data_for_prediction() ? "true" : "false"
);
}
! void G1AdaptiveIHOPControl::send_event(G1NewTracer* tracer) {
tracer->report_basic_ihop_statistics(get_conc_mark_start_threshold(),
_target_occupancy,
G1CollectedHeap::heap()->used(),
_last_allocation_bytes,
_allocation_rate_s.last(),
< prev index next >