From 23c779787a4b29c69f5b57dbd71ea45a85d3213e Mon Sep 17 00:00:00 2001 From: Dmitri Pivkine Date: Tue, 4 Jun 2024 12:28:56 -0400 Subject: [PATCH] Add tracepoint for MM_cleanUpSegmentsInAnonymousClassLoader stats Adding a new tracepoint to provide extra details about Anonymous classes unloading process. Also added missed "Group" parameter to Trc_MM_clearheap tracepoint. Signed-off-by: Dmitri Pivkine --- gc/base/j9mm.tdf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gc/base/j9mm.tdf b/gc/base/j9mm.tdf index eeb7aea249c..b7a031a38b0 100644 --- a/gc/base/j9mm.tdf +++ b/gc/base/j9mm.tdf @@ -1026,4 +1026,5 @@ TraceEvent=Trc_MM_MSSSS_flip_restore_tilt_after_percolate Overhead=1 Level=1 Gro TraceEvent=Trc_MM_MSSSS_flip_restore_tilt_after_percolate_with_stats Overhead=1 Level=1 Group=scavenge Template="MSSSS::flip restore_tilt_after_percolate heapAlignedLastFreeEntry %zu section (%zu) aligned size %zu" TraceEvent=Trc_MM_MSSSS_flip_restore_tilt_after_percolate_current_status Overhead=1 Level=1 Group=scavenge Template="MSSSS::flip restore_tilt_after_percolate %sallocateSize %zu survivorSize %zu" -TraceEvent=Trc_MM_clearheap Overhead=1 Level=1 Template="clearheap with free memory size: %zu, object size: %zu" +TraceEvent=Trc_MM_clearheap Overhead=1 Level=1 Group=gclogger Template="clearheap with free memory size: %zu, object size: %zu" +TraceEvent=Trc_MM_cleanUpSegmentsInAnonymousClassLoader_stats Overhead=1 Level=1 Group=gclogger Template="Anonymous classes: total: %zu, unloaded: %zu, searched ROM: %zu, found ROM fast: %zu, found ROM slow: %zu, not found ROM: %zu"