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

@ -221,6 +221,12 @@ void OldGCTracer::report_concurrent_mode_failure() {
}
#if INCLUDE_ALL_GCS
void G1MMUTracer::report_mmu(const GCId& gcId, double timeSlice, double gcTime, double maxTime) {
assert(!gcId.is_undefined(), "Undefined GC id");
send_g1_mmu_event(gcId, timeSlice, gcTime, maxTime);
}
void G1NewTracer::report_yc_type(G1YCType type) {
assert_set_gc_id();