mirror of
https://github.com/openjdk/jdk.git
synced 2026-06-04 09:42:34 +00:00
8368715: Serial: Add GCTraceTime for marking from roots subphases during full gc marking
Reviewed-by: fandreuzzi, tschatzl, iwalulya
This commit is contained in:
parent
d53190ac44
commit
75269fdb49
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user