< prev index next >

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

Print this page
rev 59534 : 8245961: Shenandoah: move some root marking to concurrent phase


  51   f(CNT_PREFIX ## SystemDictionaryRoots,    DESC_PREFIX "System Dict Roots")           \
  52   f(CNT_PREFIX ## CLDGRoots,                DESC_PREFIX "CLDG Roots")                  \
  53   f(CNT_PREFIX ## JVMTIRoots,               DESC_PREFIX "JVMTI Roots")                 \
  54   f(CNT_PREFIX ## StringDedupTableRoots,    DESC_PREFIX "Dedup Table Roots")           \
  55   f(CNT_PREFIX ## StringDedupQueueRoots,    DESC_PREFIX "Dedup Queue Roots")           \
  56   f(CNT_PREFIX ## FinishQueues,             DESC_PREFIX "Finish Queues")               \
  57   // end
  58 
  59 #define SHENANDOAH_PHASE_DO(f)                                                         \
  60   f(conc_reset,                                     "Concurrent Reset")                \
  61                                                                                        \
  62   f(init_mark_gross,                                "Pause Init Mark (G)")             \
  63   f(init_mark,                                      "Pause Init Mark (N)")             \
  64   f(make_parsable,                                  "  Make Parsable")                 \
  65   f(init_update_region_states,                      "  Update Region States")          \
  66   f(scan_roots,                                     "  Scan Roots")                    \
  67   SHENANDOAH_PAR_PHASE_DO(scan_,                    "    S: ", f)                      \
  68   f(resize_tlabs,                                   "  Resize TLABs")                  \
  69                                                                                        \
  70   f(conc_mark,                                      "Concurrent Marking")              \



  71   f(conc_preclean,                                  "Concurrent Precleaning")          \
  72                                                                                        \
  73   f(final_mark_gross,                               "Pause Final Mark (G)")            \
  74   f(final_mark,                                     "Pause Final Mark (N)")            \
  75   f(update_roots,                                   "  Update Roots")                  \
  76   SHENANDOAH_PAR_PHASE_DO(update_,                  "    U: ", f)                      \
  77   f(finish_queues,                                  "  Finish Queues")                 \
  78   f(weakrefs,                                       "  Weak References")               \
  79   f(weakrefs_process,                               "    Process")                     \
  80   f(purge,                                          "  System Purge")                  \
  81   f(purge_class_unload,                             "    Unload Classes")              \
  82   SHENANDOAH_PAR_PHASE_DO(purge_cu_par_,            "      CU: ", f)                   \
  83   f(purge_weak_par,                                 "    Weak Roots")                  \
  84   SHENANDOAH_PAR_PHASE_DO(purge_weak_par_,          "      WR: ", f)                   \
  85   f(purge_cldg,                                     "    CLDG")                        \
  86   f(final_update_region_states,                     "  Update Region States")          \
  87   f(retire_tlabs,                                   "  Retire TLABs")                  \
  88   f(choose_cset,                                    "  Choose Collection Set")         \
  89   f(final_rebuild_freeset,                          "  Rebuild Free Set")              \
  90   f(init_evac,                                      "  Initial Evacuation")            \


 111                                                                                        \
 112   f(init_update_refs_gross,                         "Pause Init  Update Refs (G)")     \
 113   f(init_update_refs,                               "Pause Init  Update Refs (N)")     \
 114   f(init_update_refs_retire_gclabs,                 "  Retire GCLABs")                 \
 115                                                                                        \
 116   f(conc_update_refs,                               "Concurrent Update Refs")          \
 117                                                                                        \
 118   f(final_update_refs_gross,                        "Pause Final Update Refs (G)")     \
 119   f(final_update_refs,                              "Pause Final Update Refs (N)")     \
 120   f(final_update_refs_finish_work,                  "  Finish Work")                   \
 121   f(final_update_refs_roots,                        "  Update Roots")                  \
 122   SHENANDOAH_PAR_PHASE_DO(final_update_,            "    UR: ", f)                     \
 123   f(final_update_refs_update_region_states,         "  Update Region States")          \
 124   f(final_update_refs_trash_cset,                   "  Trash Collection Set")          \
 125   f(final_update_refs_rebuild_freeset,              "  Rebuild Free Set")              \
 126                                                                                        \
 127   f(conc_cleanup_complete,                          "Concurrent Cleanup")              \
 128                                                                                        \
 129   f(degen_gc_gross,                                 "Pause Degenerated GC (G)")        \
 130   f(degen_gc,                                       "Pause Degenerated GC (N)")        \


 131   f(degen_gc_update_roots,                          "  Degen Update Roots")            \
 132   SHENANDOAH_PAR_PHASE_DO(degen_gc_update_,         "    DU: ", f)                     \
 133                                                                                        \
 134   f(full_gc_gross,                                  "Pause Full GC (G)")               \
 135   f(full_gc,                                        "Pause Full GC (N)")               \
 136   f(full_gc_heapdump_pre,                           "  Pre Heap Dump")                 \
 137   f(full_gc_prepare,                                "  Prepare")                       \
 138   f(full_gc_scan_roots,                             "  Scan Roots")                    \
 139   SHENANDOAH_PAR_PHASE_DO(full_gc_scan_roots_,      "    FS: ", f)                     \


 140   f(full_gc_update_roots,                           "  Update Roots")                  \
 141   SHENANDOAH_PAR_PHASE_DO(full_gc_update_roots_,    "    FU: ", f)                     \
 142   f(full_gc_mark,                                   "  Mark")                          \
 143   f(full_gc_mark_finish_queues,                     "    Finish Queues")               \
 144   f(full_gc_weakrefs,                               "    Weak References")             \
 145   f(full_gc_weakrefs_process,                       "      Process")                   \
 146   f(full_gc_purge,                                  "    System Purge")                \
 147   f(full_gc_purge_class_unload,                     "      Unload Classes")            \
 148   SHENANDOAH_PAR_PHASE_DO(full_gc_purge_cu_par_,    "        CU: ", f)                 \
 149   f(full_gc_purge_weak_par,                         "      Weak Roots")                \
 150   SHENANDOAH_PAR_PHASE_DO(full_gc_purge_weak_p_,    "        WR: ", f)                 \
 151   f(full_gc_purge_cldg,                             "      CLDG")                      \
 152   f(full_gc_calculate_addresses,                    "  Calculate Addresses")           \
 153   f(full_gc_calculate_addresses_regular,            "    Regular Objects")             \
 154   f(full_gc_calculate_addresses_humong,             "    Humongous Objects")           \
 155   f(full_gc_adjust_pointers,                        "  Adjust Pointers")               \
 156   f(full_gc_adjust_roots,                           "  Adjust Roots")                  \
 157   SHENANDOAH_PAR_PHASE_DO(full_gc_adjust_roots_,    "    FA: ", f)                     \
 158   f(full_gc_copy_objects,                           "  Copy Objects")                  \
 159   f(full_gc_copy_objects_regular,                   "    Regular Objects")             \




  51   f(CNT_PREFIX ## SystemDictionaryRoots,    DESC_PREFIX "System Dict Roots")           \
  52   f(CNT_PREFIX ## CLDGRoots,                DESC_PREFIX "CLDG Roots")                  \
  53   f(CNT_PREFIX ## JVMTIRoots,               DESC_PREFIX "JVMTI Roots")                 \
  54   f(CNT_PREFIX ## StringDedupTableRoots,    DESC_PREFIX "Dedup Table Roots")           \
  55   f(CNT_PREFIX ## StringDedupQueueRoots,    DESC_PREFIX "Dedup Queue Roots")           \
  56   f(CNT_PREFIX ## FinishQueues,             DESC_PREFIX "Finish Queues")               \
  57   // end
  58 
  59 #define SHENANDOAH_PHASE_DO(f)                                                         \
  60   f(conc_reset,                                     "Concurrent Reset")                \
  61                                                                                        \
  62   f(init_mark_gross,                                "Pause Init Mark (G)")             \
  63   f(init_mark,                                      "Pause Init Mark (N)")             \
  64   f(make_parsable,                                  "  Make Parsable")                 \
  65   f(init_update_region_states,                      "  Update Region States")          \
  66   f(scan_roots,                                     "  Scan Roots")                    \
  67   SHENANDOAH_PAR_PHASE_DO(scan_,                    "    S: ", f)                      \
  68   f(resize_tlabs,                                   "  Resize TLABs")                  \
  69                                                                                        \
  70   f(conc_mark,                                      "Concurrent Marking")              \
  71   f(conc_mark_roots,                                "  Concurrent Mark Roots ")        \
  72   SHENANDOAH_PAR_PHASE_DO(conc_mark_roots,          "    CM: ", f)                     \
  73                                                                                        \
  74   f(conc_preclean,                                  "Concurrent Precleaning")          \
  75                                                                                        \
  76   f(final_mark_gross,                               "Pause Final Mark (G)")            \
  77   f(final_mark,                                     "Pause Final Mark (N)")            \
  78   f(update_roots,                                   "  Update Roots")                  \
  79   SHENANDOAH_PAR_PHASE_DO(update_,                  "    U: ", f)                      \
  80   f(finish_queues,                                  "  Finish Queues")                 \
  81   f(weakrefs,                                       "  Weak References")               \
  82   f(weakrefs_process,                               "    Process")                     \
  83   f(purge,                                          "  System Purge")                  \
  84   f(purge_class_unload,                             "    Unload Classes")              \
  85   SHENANDOAH_PAR_PHASE_DO(purge_cu_par_,            "      CU: ", f)                   \
  86   f(purge_weak_par,                                 "    Weak Roots")                  \
  87   SHENANDOAH_PAR_PHASE_DO(purge_weak_par_,          "      WR: ", f)                   \
  88   f(purge_cldg,                                     "    CLDG")                        \
  89   f(final_update_region_states,                     "  Update Region States")          \
  90   f(retire_tlabs,                                   "  Retire TLABs")                  \
  91   f(choose_cset,                                    "  Choose Collection Set")         \
  92   f(final_rebuild_freeset,                          "  Rebuild Free Set")              \
  93   f(init_evac,                                      "  Initial Evacuation")            \


 114                                                                                        \
 115   f(init_update_refs_gross,                         "Pause Init  Update Refs (G)")     \
 116   f(init_update_refs,                               "Pause Init  Update Refs (N)")     \
 117   f(init_update_refs_retire_gclabs,                 "  Retire GCLABs")                 \
 118                                                                                        \
 119   f(conc_update_refs,                               "Concurrent Update Refs")          \
 120                                                                                        \
 121   f(final_update_refs_gross,                        "Pause Final Update Refs (G)")     \
 122   f(final_update_refs,                              "Pause Final Update Refs (N)")     \
 123   f(final_update_refs_finish_work,                  "  Finish Work")                   \
 124   f(final_update_refs_roots,                        "  Update Roots")                  \
 125   SHENANDOAH_PAR_PHASE_DO(final_update_,            "    UR: ", f)                     \
 126   f(final_update_refs_update_region_states,         "  Update Region States")          \
 127   f(final_update_refs_trash_cset,                   "  Trash Collection Set")          \
 128   f(final_update_refs_rebuild_freeset,              "  Rebuild Free Set")              \
 129                                                                                        \
 130   f(conc_cleanup_complete,                          "Concurrent Cleanup")              \
 131                                                                                        \
 132   f(degen_gc_gross,                                 "Pause Degenerated GC (G)")        \
 133   f(degen_gc,                                       "Pause Degenerated GC (N)")        \
 134   f(degen_gc_scan_conc_roots,                       "  Degen Mark Roots")              \
 135   SHENANDOAH_PAR_PHASE_DO(degen_gc_conc_mark_,      "    DM: ", f)                     \
 136   f(degen_gc_update_roots,                          "  Degen Update Roots")            \
 137   SHENANDOAH_PAR_PHASE_DO(degen_gc_update_,         "    DU: ", f)                     \
 138                                                                                        \
 139   f(full_gc_gross,                                  "Pause Full GC (G)")               \
 140   f(full_gc,                                        "Pause Full GC (N)")               \
 141   f(full_gc_heapdump_pre,                           "  Pre Heap Dump")                 \
 142   f(full_gc_prepare,                                "  Prepare")                       \
 143   f(full_gc_scan_roots,                             "  Scan Roots")                    \
 144   SHENANDOAH_PAR_PHASE_DO(full_gc_scan_roots_,      "    FS: ", f)                     \
 145   f(full_gc_scan_conc_roots,                        "  Scan Concurrnet Roots")         \
 146   SHENANDOAH_PAR_PHASE_DO(full_gc_scan_conc_roots,  "   FCS: ", f)                     \
 147   f(full_gc_update_roots,                           "  Update Roots")                  \
 148   SHENANDOAH_PAR_PHASE_DO(full_gc_update_roots_,    "    FU: ", f)                     \
 149   f(full_gc_mark,                                   "  Mark")                          \
 150   f(full_gc_mark_finish_queues,                     "    Finish Queues")               \
 151   f(full_gc_weakrefs,                               "    Weak References")             \
 152   f(full_gc_weakrefs_process,                       "      Process")                   \
 153   f(full_gc_purge,                                  "    System Purge")                \
 154   f(full_gc_purge_class_unload,                     "      Unload Classes")            \
 155   SHENANDOAH_PAR_PHASE_DO(full_gc_purge_cu_par_,    "        CU: ", f)                 \
 156   f(full_gc_purge_weak_par,                         "      Weak Roots")                \
 157   SHENANDOAH_PAR_PHASE_DO(full_gc_purge_weak_p_,    "        WR: ", f)                 \
 158   f(full_gc_purge_cldg,                             "      CLDG")                      \
 159   f(full_gc_calculate_addresses,                    "  Calculate Addresses")           \
 160   f(full_gc_calculate_addresses_regular,            "    Regular Objects")             \
 161   f(full_gc_calculate_addresses_humong,             "    Humongous Objects")           \
 162   f(full_gc_adjust_pointers,                        "  Adjust Pointers")               \
 163   f(full_gc_adjust_roots,                           "  Adjust Roots")                  \
 164   SHENANDOAH_PAR_PHASE_DO(full_gc_adjust_roots_,    "    FA: ", f)                     \
 165   f(full_gc_copy_objects,                           "  Copy Objects")                  \
 166   f(full_gc_copy_objects_regular,                   "    Regular Objects")             \


< prev index next >