Bug 1322380 - Fix alignment of major GC profiling headers r=sfink
authorJon Coppeard <jcoppeard@mozilla.com>
Wed, 07 Dec 2016 10:36:06 -1000
changeset 325393 c2626a3d815c38b0308e4957292f5e723d323772
parent 325392 d01ac7a95ee4a3e90280ef94551d9b70f5fc511b
child 325394 c17cc72764e636b7354463508db84ef6bf01eade
push id24
push usermaklebus@msu.edu
push dateTue, 20 Dec 2016 03:11:33 +0000
reviewerssfink
bugs1322380
milestone53.0a1
Bug 1322380 - Fix alignment of major GC profiling headers r=sfink
js/src/gc/Statistics.h
--- a/js/src/gc/Statistics.h
+++ b/js/src/gc/Statistics.h
@@ -136,27 +136,27 @@ struct ZoneGCStats
 
     ZoneGCStats()
       : collectedZoneCount(0), zoneCount(0), sweptZoneCount(0),
         collectedCompartmentCount(0), compartmentCount(0), sweptCompartmentCount(0)
     {}
 };
 
 #define FOR_EACH_GC_PROFILE_TIME(_)                                           \
-    _(BeginCallback, "beginCB",  PHASE_GC_BEGIN)                              \
-    _(WaitBgThread,  "waitBG",   PHASE_WAIT_BACKGROUND_THREAD)                \
-    _(DiscardCode,   "discard",  PHASE_MARK_DISCARD_CODE)                     \
-    _(RelazifyFunc,  "relazify", PHASE_RELAZIFY_FUNCTIONS)                    \
-    _(PurgeTables,   "purgeTables", PHASE_PURGE_SHAPE_TABLES)                 \
-    _(Purge,         "purge",    PHASE_PURGE)                                 \
-    _(Mark,          "mark",     PHASE_MARK)                                  \
-    _(Sweep,         "sweep",    PHASE_SWEEP)                                 \
-    _(Compact,       "compact",  PHASE_COMPACT)                               \
-    _(EndCallback,   "endCB",    PHASE_GC_END)                                \
-    _(Barriers,      "barriers", PHASE_BARRIER)
+    _(BeginCallback, "bgnCB",  PHASE_GC_BEGIN)                                \
+    _(WaitBgThread,  "waitBG", PHASE_WAIT_BACKGROUND_THREAD)                  \
+    _(DiscardCode,   "discrd", PHASE_MARK_DISCARD_CODE)                       \
+    _(RelazifyFunc,  "relzfy", PHASE_RELAZIFY_FUNCTIONS)                      \
+    _(PurgeTables,   "prgTbl", PHASE_PURGE_SHAPE_TABLES)                      \
+    _(Purge,         "purge",  PHASE_PURGE)                                   \
+    _(Mark,          "mark",   PHASE_MARK)                                    \
+    _(Sweep,         "sweep",  PHASE_SWEEP)                                   \
+    _(Compact,       "cmpct",  PHASE_COMPACT)                                 \
+    _(EndCallback,   "endCB",  PHASE_GC_END)                                  \
+    _(Barriers,      "brrier", PHASE_BARRIER)
 
 const char* ExplainAbortReason(gc::AbortReason reason);
 const char* ExplainInvocationKind(JSGCInvocationKind gckind);
 
 /*
  * Struct for collecting timing statistics on a "phase tree". The tree is
  * specified as a limited DAG, but the timings are collected for the whole tree
  * that you would get by expanding out the DAG by duplicating subtrees rooted