< prev index next >
src/hotspot/share/gc/g1/g1GCPhaseTimes.hpp
Print this page
rev 59956 : 8247819: G1: Process strong OopStorage entries in parallel
Reviewed-by:
Contributed-by: Erik Osterlund <erik.osterlund@oracle.com>, Stefan Karlsson <stefan.karlsson@oracle.com>, Thomas Schatzl <thomas.schatzl@oracle.com>
*** 23,32 ****
--- 23,33 ----
*/
#ifndef SHARE_GC_G1_G1GCPHASETIMES_HPP
#define SHARE_GC_G1_G1GCPHASETIMES_HPP
+ #include "gc/shared/oopStorageSet.hpp"
#include "gc/shared/referenceProcessorPhaseTimes.hpp"
#include "gc/shared/weakProcessorPhaseTimes.hpp"
#include "logging/logLevel.hpp"
#include "memory/allocation.hpp"
#include "utilities/macros.hpp"
*** 46,64 ****
enum GCParPhases {
GCWorkerStart,
ExtRootScan,
ThreadRoots,
UniverseRoots,
- JNIRoots,
ObjectSynchronizerRoots,
ManagementRoots,
- VMGlobalRoots,
CLDGRoots,
JVMTIRoots,
AOT_ONLY(AOTCodeRoots COMMA)
CMRefRoots,
! MergeER,
MergeRS,
OptMergeRS,
MergeLB,
MergeHCC,
ScanHR,
--- 47,66 ----
enum GCParPhases {
GCWorkerStart,
ExtRootScan,
ThreadRoots,
UniverseRoots,
ObjectSynchronizerRoots,
ManagementRoots,
CLDGRoots,
JVMTIRoots,
AOT_ONLY(AOTCodeRoots COMMA)
CMRefRoots,
! // For every OopStorage there will be one element in the enum, starting with
! // StrongOopStorageSetRoots.
! StrongOopStorageSetRoots,
! MergeER = StrongOopStorageSetRoots + OopStorageSet::strong_count,
MergeRS,
OptMergeRS,
MergeLB,
MergeHCC,
ScanHR,
*** 82,92 ****
MergePSS,
GCParPhasesSentinel
};
static const GCParPhases ExtRootScanSubPhasesFirst = ThreadRoots;
! static const GCParPhases ExtRootScanSubPhasesLast = CMRefRoots;
enum GCMergeRSWorkTimes {
MergeRSMergedSparse,
MergeRSMergedFine,
MergeRSMergedCoarse,
--- 84,94 ----
MergePSS,
GCParPhasesSentinel
};
static const GCParPhases ExtRootScanSubPhasesFirst = ThreadRoots;
! static const GCParPhases ExtRootScanSubPhasesLast = GCParPhases(MergeER - 1);
enum GCMergeRSWorkTimes {
MergeRSMergedSparse,
MergeRSMergedFine,
MergeRSMergedCoarse,
< prev index next >