src/hotspot/share/gc/g1/g1FullCollector.hpp
changeset 48168 cb5d2d4453d0
parent 48100 ab188c22d4b6
child 49320 0e79ce03b7a2
equal deleted inserted replaced
48167:f04a848c6f00 48168:cb5d2d4453d0
    37 class AbstractGangTask;
    37 class AbstractGangTask;
    38 class G1CMBitMap;
    38 class G1CMBitMap;
    39 class G1FullGCMarker;
    39 class G1FullGCMarker;
    40 class G1FullGCScope;
    40 class G1FullGCScope;
    41 class G1FullGCCompactionPoint;
    41 class G1FullGCCompactionPoint;
       
    42 class GCMemoryManager;
    42 class ReferenceProcessor;
    43 class ReferenceProcessor;
    43 
    44 
    44 // The G1FullCollector holds data associated with the current Full GC.
    45 // The G1FullCollector holds data associated with the current Full GC.
    45 class G1FullCollector : StackObj {
    46 class G1FullCollector : StackObj {
    46   G1CollectedHeap*          _heap;
    47   G1CollectedHeap*          _heap;
    54   G1FullGCCompactionPoint   _serial_compaction_point;
    55   G1FullGCCompactionPoint   _serial_compaction_point;
    55   G1IsAliveClosure          _is_alive;
    56   G1IsAliveClosure          _is_alive;
    56   ReferenceProcessorIsAliveMutator _is_alive_mutator;
    57   ReferenceProcessorIsAliveMutator _is_alive_mutator;
    57 
    58 
    58 public:
    59 public:
    59   G1FullCollector(G1CollectedHeap* heap, bool explicit_gc, bool clear_soft_refs);
    60   G1FullCollector(G1CollectedHeap* heap, GCMemoryManager* memory_manager, bool explicit_gc, bool clear_soft_refs);
    60   ~G1FullCollector();
    61   ~G1FullCollector();
    61 
    62 
    62   void prepare_collection();
    63   void prepare_collection();
    63   void collect();
    64   void collect();
    64   void complete_collection();
    65   void complete_collection();