src/hotspot/share/gc/g1/g1RootProcessor.hpp
changeset 54364 baf213e62aeb
parent 53536 482109fae02b
child 54669 ad45b3802d4e
equal deleted inserted replaced
54363:f60c52198a42 54364:baf213e62aeb
    23  */
    23  */
    24 
    24 
    25 #ifndef SHARE_GC_G1_G1ROOTPROCESSOR_HPP
    25 #ifndef SHARE_GC_G1_G1ROOTPROCESSOR_HPP
    26 #define SHARE_GC_G1_G1ROOTPROCESSOR_HPP
    26 #define SHARE_GC_G1_G1ROOTPROCESSOR_HPP
    27 
    27 
    28 #include "gc/shared/oopStorageParState.hpp"
       
    29 #include "gc/shared/strongRootsScope.hpp"
    28 #include "gc/shared/strongRootsScope.hpp"
    30 #include "memory/allocation.hpp"
    29 #include "memory/allocation.hpp"
    31 #include "runtime/mutex.hpp"
    30 #include "runtime/mutex.hpp"
    32 
    31 
    33 class CLDClosure;
    32 class CLDClosure;
    48 // worker thread call the process_roots methods.
    47 // worker thread call the process_roots methods.
    49 class G1RootProcessor : public StackObj {
    48 class G1RootProcessor : public StackObj {
    50   G1CollectedHeap* _g1h;
    49   G1CollectedHeap* _g1h;
    51   SubTasksDone _process_strong_tasks;
    50   SubTasksDone _process_strong_tasks;
    52   StrongRootsScope _srs;
    51   StrongRootsScope _srs;
    53   OopStorage::ParState<false, false> _par_state_string;
       
    54 
    52 
    55   // Used to implement the Thread work barrier.
    53   // Used to implement the Thread work barrier.
    56   Monitor _lock;
    54   Monitor _lock;
    57   volatile jint _n_workers_discovered_strong_classes;
    55   volatile jint _n_workers_discovered_strong_classes;
    58 
    56