8078901: Add trace event for G1 MMU information

Reviewed-by: ehelin, mlarsson
This commit is contained in:
Stefan Johansson 2015-04-30 13:33:23 +02:00
parent a7f0956201
commit c85e4ae56f
8 changed files with 45 additions and 6 deletions

View file

@ -199,6 +199,17 @@ void G1NewTracer::send_g1_young_gc_event() {
}
}
void G1MMUTracer::send_g1_mmu_event(const GCId& gcId, double timeSlice, double gcTime, double maxTime) {
EventGCG1MMU e;
if (e.should_commit()) {
e.set_gcId(gcId.id());
e.set_timeSlice(timeSlice);
e.set_gcTime(gcTime);
e.set_maxGcTime(maxTime);
e.commit();
}
}
void G1NewTracer::send_evacuation_info_event(EvacuationInfo* info) {
EventEvacuationInfo e;
if (e.should_commit()) {