diff --git a/src/hotspot/share/gc/serial/serialFullGC.cpp b/src/hotspot/share/gc/serial/serialFullGC.cpp index 271b4b4ebdb..76a335d209f 100644 --- a/src/hotspot/share/gc/serial/serialFullGC.cpp +++ b/src/hotspot/share/gc/serial/serialFullGC.cpp @@ -482,6 +482,8 @@ void SerialFullGC::phase1_mark(bool clear_all_softrefs) { ref_processor()->start_discovery(clear_all_softrefs); { + GCTraceTime(Debug, gc, phases) tm_m("Marking From Roots", gc_timer()); + // Start tracing from roots, there are 3 kinds of roots in full-gc. // // 1. CLD. This method internally takes care of whether class loading is