Skip to content

Commit d998196

Browse files
William Kempershipilev
authored andcommitted
8367378: GenShen: Missing timing stats when old mark buffers are flushed during final update refs
Backport-of: 11df28916af4c2bfd69b2829c74e046ad953ee6c
1 parent d8b2de8 commit d998196

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/hotspot/share/gc/shenandoah/shenandoahConcurrentGC.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1198,6 +1198,7 @@ void ShenandoahConcurrentGC::op_final_update_refs() {
11981198
// We are not concerned about skipping this step in abbreviated cycles because regions
11991199
// with no live objects cannot have been written to and so cannot have entries in the SATB
12001200
// buffers.
1201+
ShenandoahGCPhase phase(ShenandoahPhaseTimings::final_update_refs_transfer_satb);
12011202
heap->old_generation()->transfer_pointers_from_satb();
12021203

12031204
// Aging_cycle is only relevant during evacuation cycle for individual objects and during final mark for

src/hotspot/share/gc/shenandoah/shenandoahPhaseTimings.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@ class outputStream;
126126
f(final_update_refs, "Pause Final Update Refs (N)") \
127127
f(final_update_refs_verify, " Verify") \
128128
f(final_update_refs_update_region_states, " Update Region States") \
129+
f(final_update_refs_transfer_satb, " Transfer Old From SATB") \
129130
f(final_update_refs_trash_cset, " Trash Collection Set") \
130131
f(final_update_refs_rebuild_freeset, " Rebuild Free Set") \
131132
f(final_update_refs_propagate_gc_state, " Propagate GC State") \

0 commit comments

Comments
 (0)