24 25 #ifndef SHARE_VM_GC_IMPLEMENTATION_G1_G1GCPHASETIMESLOG_HPP 26 #define SHARE_VM_GC_IMPLEMENTATION_G1_G1GCPHASETIMESLOG_HPP 27 28 #include "memory/allocation.hpp" 29 30 class LineBuffer; 31 32 template <class T> class WorkerDataArray; 33 34 class G1GCPhaseTimes : public CHeapObj<mtGC> { 35 friend class G1GCParPhasePrinter; 36 37 uint _active_gc_threads; 38 uint _max_gc_threads; 39 40 public: 41 enum GCParPhases { 42 GCWorkerStart, 43 ExtRootScan, 44 SATBFiltering, 45 UpdateRS, 46 ScanRS, 47 CodeRoots, 48 ObjCopy, 49 Termination, 50 Other, 51 GCWorkerTotal, 52 GCWorkerEnd, 53 StringDedupQueueFixup, 54 StringDedupTableFixup, 55 RedirtyCards, 56 GCParPhasesSentinel 57 }; 58 59 private: 60 // Markers for grouping the phases in the GCPhases enum above 61 static const int GCMainParPhasesLast = GCWorkerEnd; 62 static const int StringDedupPhasesFirst = StringDedupQueueFixup; 63 static const int StringDedupPhasesLast = StringDedupTableFixup; | 24 25 #ifndef SHARE_VM_GC_IMPLEMENTATION_G1_G1GCPHASETIMESLOG_HPP 26 #define SHARE_VM_GC_IMPLEMENTATION_G1_G1GCPHASETIMESLOG_HPP 27 28 #include "memory/allocation.hpp" 29 30 class LineBuffer; 31 32 template <class T> class WorkerDataArray; 33 34 class G1GCPhaseTimes : public CHeapObj<mtGC> { 35 friend class G1GCParPhasePrinter; 36 37 uint _active_gc_threads; 38 uint _max_gc_threads; 39 40 public: 41 enum GCParPhases { 42 GCWorkerStart, 43 ExtRootScan, 44 ThreadRoots, 45 StringTableRoots, 46 UniverseRoots, 47 JNIRoots, 48 ObjectSynchronizerRoots, 49 FlatProfilerRoots, 50 ManagementRoots, 51 SystemDictionaryRoots, 52 CLDGRoots, 53 JVMTIRoots, 54 CodeCacheRoots, 55 CMRefRoots, 56 WaitForStrongCLD, 57 WeakCLDRoots, 58 SATBFiltering, 59 UpdateRS, 60 ScanRS, 61 CodeRoots, 62 ObjCopy, 63 Termination, 64 Other, 65 GCWorkerTotal, 66 GCWorkerEnd, 67 StringDedupQueueFixup, 68 StringDedupTableFixup, 69 RedirtyCards, 70 GCParPhasesSentinel 71 }; 72 73 private: 74 // Markers for grouping the phases in the GCPhases enum above 75 static const int GCMainParPhasesLast = GCWorkerEnd; 76 static const int StringDedupPhasesFirst = StringDedupQueueFixup; 77 static const int StringDedupPhasesLast = StringDedupTableFixup; |