< prev index next >

src/hotspot/share/gc/g1/g1GCPhaseTimes.hpp

Print this page
rev 53921 : imported patch 8219369-add-named-constants-for-extrootscan
rev 53922 : [mq]: 8219369-kbarrett-review

@@ -45,12 +45,11 @@
 
  public:
   enum GCParPhases {
     GCWorkerStart,
     ExtRootScan,
-    ExtRootScanSubPhasesStart,
-    ThreadRoots = ExtRootScanSubPhasesStart,
+    ThreadRoots,
     UniverseRoots,
     JNIRoots,
     ObjectSynchronizerRoots,
     ManagementRoots,
     SystemDictionaryRoots,

@@ -61,11 +60,10 @@
 #endif
     CMRefRoots,
     WaitForStrongCLD,
     WeakCLDRoots,
     SATBFiltering,
-    ExtRootScanSubPhasesEnd = SATBFiltering,
     UpdateRS,
     ScanHCC,
     ScanRS,
     OptScanRS,
     CodeRoots,

@@ -81,10 +79,13 @@
     YoungFreeCSet,
     NonYoungFreeCSet,
     GCParPhasesSentinel
   };
 
+  static const GCParPhases ExtRootScanSubPhasesStart = ThreadRoots;
+  static const GCParPhases ExtRootScanSubPhasesEnd = SATBFiltering;
+
   enum GCScanRSWorkItems {
     ScanRSScannedCards,
     ScanRSClaimedCards,
     ScanRSSkippedCards
   };
< prev index next >