8219369: Add named constants for iterating ExtRootScan phases
Reviewed-by: kbarrett, sangheki
This commit is contained in:
parent
e68d585a8d
commit
719bbcddf8
@ -385,7 +385,7 @@ double G1GCPhaseTimes::print_evacuate_collection_set() const {
|
||||
|
||||
trace_phase(_gc_par_phases[GCWorkerStart], false);
|
||||
debug_phase(_gc_par_phases[ExtRootScan]);
|
||||
for (int i = ThreadRoots; i <= SATBFiltering; i++) {
|
||||
for (int i = ExtRootScanSubPhasesStart; i <= ExtRootScanSubPhasesEnd; i++) {
|
||||
trace_phase(_gc_par_phases[i]);
|
||||
}
|
||||
if (G1HotCardCache::default_use_cache()) {
|
||||
|
@ -81,6 +81,9 @@ class G1GCPhaseTimes : public CHeapObj<mtGC> {
|
||||
GCParPhasesSentinel
|
||||
};
|
||||
|
||||
static const GCParPhases ExtRootScanSubPhasesStart = ThreadRoots;
|
||||
static const GCParPhases ExtRootScanSubPhasesEnd = SATBFiltering;
|
||||
|
||||
enum GCScanRSWorkItems {
|
||||
ScanRSScannedCards,
|
||||
ScanRSClaimedCards,
|
||||
|
Loading…
Reference in New Issue
Block a user