< prev index next >

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

Print this page

 27 
 28 #include "jfr/jfrEvents.hpp"
 29 #include "gc/shenandoah/shenandoahNumberSeq.hpp"
 30 #include "gc/shared/workerDataArray.hpp"
 31 #include "memory/allocation.hpp"
 32 
 33 class ShenandoahCollectorPolicy;
 34 class outputStream;
 35 
 36 #define SHENANDOAH_PAR_PHASE_DO(CNT_PREFIX, DESC_PREFIX, f)                            \
 37   f(CNT_PREFIX ## TotalWork,                DESC_PREFIX "<total>")                     \
 38   f(CNT_PREFIX ## ThreadRoots,              DESC_PREFIX "Thread Roots")                \
 39   f(CNT_PREFIX ## CodeCacheRoots,           DESC_PREFIX "Code Cache Roots")            \
 40   f(CNT_PREFIX ## VMStrongRoots,            DESC_PREFIX "VM Strong Roots")             \
 41   f(CNT_PREFIX ## VMWeakRoots,              DESC_PREFIX "VM Weak Roots")               \
 42   f(CNT_PREFIX ## CLDGRoots,                DESC_PREFIX "CLDG Roots")                  \
 43   f(CNT_PREFIX ## CodeCacheUnload,          DESC_PREFIX "Unload Code Caches")          \
 44   f(CNT_PREFIX ## CLDUnlink,                DESC_PREFIX "Unlink CLDs")                 \
 45   f(CNT_PREFIX ## WeakRefProc,              DESC_PREFIX "Weak References")             \
 46   f(CNT_PREFIX ## ParallelMark,             DESC_PREFIX "Parallel Mark")               \

 47   // end
 48 
 49 #define SHENANDOAH_PHASE_DO(f)                                                         \
 50   f(conc_reset,                                     "Concurrent Reset")                \
 51                                                                                        \
 52   f(init_mark_gross,                                "Pause Init Mark (G)")             \
 53   f(init_mark,                                      "Pause Init Mark (N)")             \
 54   f(init_manage_tlabs,                              "  Manage TLABs")                  \
 55   f(init_update_region_states,                      "  Update Region States")          \
 56                                                                                        \
 57   f(conc_mark_roots,                                "Concurrent Mark Roots ")          \
 58   SHENANDOAH_PAR_PHASE_DO(conc_mark_roots,          "  CMR: ", f)                      \
 59   f(conc_mark,                                      "Concurrent Marking")              \
 60                                                                                        \
 61   f(final_mark_gross,                               "Pause Final Mark (G)")            \
 62   f(final_mark,                                     "Pause Final Mark (N)")            \
 63   f(finish_mark,                                    "  Finish Mark")                   \
 64   SHENANDOAH_PAR_PHASE_DO(finish_mark_,             "    FM: ", f)                     \
 65   f(purge,                                          "  System Purge")                  \
 66   SHENANDOAH_PAR_PHASE_DO(purge_cu_par_,            "      CU: ", f)                   \

 27 
 28 #include "jfr/jfrEvents.hpp"
 29 #include "gc/shenandoah/shenandoahNumberSeq.hpp"
 30 #include "gc/shared/workerDataArray.hpp"
 31 #include "memory/allocation.hpp"
 32 
 33 class ShenandoahCollectorPolicy;
 34 class outputStream;
 35 
 36 #define SHENANDOAH_PAR_PHASE_DO(CNT_PREFIX, DESC_PREFIX, f)                            \
 37   f(CNT_PREFIX ## TotalWork,                DESC_PREFIX "<total>")                     \
 38   f(CNT_PREFIX ## ThreadRoots,              DESC_PREFIX "Thread Roots")                \
 39   f(CNT_PREFIX ## CodeCacheRoots,           DESC_PREFIX "Code Cache Roots")            \
 40   f(CNT_PREFIX ## VMStrongRoots,            DESC_PREFIX "VM Strong Roots")             \
 41   f(CNT_PREFIX ## VMWeakRoots,              DESC_PREFIX "VM Weak Roots")               \
 42   f(CNT_PREFIX ## CLDGRoots,                DESC_PREFIX "CLDG Roots")                  \
 43   f(CNT_PREFIX ## CodeCacheUnload,          DESC_PREFIX "Unload Code Caches")          \
 44   f(CNT_PREFIX ## CLDUnlink,                DESC_PREFIX "Unlink CLDs")                 \
 45   f(CNT_PREFIX ## WeakRefProc,              DESC_PREFIX "Weak References")             \
 46   f(CNT_PREFIX ## ParallelMark,             DESC_PREFIX "Parallel Mark")               \
 47 //f(CNT_PREFIX ## NMethodKeepAliveRoots,    DESC_PREFIX "NMethod Keepalive")           \
 48   // end
 49 
 50 #define SHENANDOAH_PHASE_DO(f)                                                         \
 51   f(conc_reset,                                     "Concurrent Reset")                \
 52                                                                                        \
 53   f(init_mark_gross,                                "Pause Init Mark (G)")             \
 54   f(init_mark,                                      "Pause Init Mark (N)")             \
 55   f(init_manage_tlabs,                              "  Manage TLABs")                  \
 56   f(init_update_region_states,                      "  Update Region States")          \
 57                                                                                        \
 58   f(conc_mark_roots,                                "Concurrent Mark Roots ")          \
 59   SHENANDOAH_PAR_PHASE_DO(conc_mark_roots,          "  CMR: ", f)                      \
 60   f(conc_mark,                                      "Concurrent Marking")              \
 61                                                                                        \
 62   f(final_mark_gross,                               "Pause Final Mark (G)")            \
 63   f(final_mark,                                     "Pause Final Mark (N)")            \
 64   f(finish_mark,                                    "  Finish Mark")                   \
 65   SHENANDOAH_PAR_PHASE_DO(finish_mark_,             "    FM: ", f)                     \
 66   f(purge,                                          "  System Purge")                  \
 67   SHENANDOAH_PAR_PHASE_DO(purge_cu_par_,            "      CU: ", f)                   \
< prev index next >