hotspot/src/share/vm/gc/cms/parNewGeneration.hpp
changeset 32623 390a27af5657
parent 32378 8dd0e7359751
child 35492 c8c0273e6b91
equal deleted inserted replaced
32622:7ed47d0b888a 32623:390a27af5657
    69   PLAB _to_space_alloc_buffer;
    69   PLAB _to_space_alloc_buffer;
    70 
    70 
    71   ParScanWithoutBarrierClosure         _to_space_closure; // scan_without_gc_barrier
    71   ParScanWithoutBarrierClosure         _to_space_closure; // scan_without_gc_barrier
    72   ParScanWithBarrierClosure            _old_gen_closure; // scan_with_gc_barrier
    72   ParScanWithBarrierClosure            _old_gen_closure; // scan_with_gc_barrier
    73   ParRootScanWithoutBarrierClosure     _to_space_root_closure; // scan_root_without_gc_barrier
    73   ParRootScanWithoutBarrierClosure     _to_space_root_closure; // scan_root_without_gc_barrier
    74   // One of these two will be passed to process_roots, which will
    74   // Will be passed to process_roots to set its generation.
    75   // set its generation.  The first is for two-gen configs where the
       
    76   // old gen collects the perm gen; the second is for arbitrary configs.
       
    77   // The second isn't used right now (it used to be used for the train, an
       
    78   // incremental collector) but the declaration has been left as a reminder.
       
    79   ParRootScanWithBarrierTwoGensClosure _older_gen_closure;
    75   ParRootScanWithBarrierTwoGensClosure _older_gen_closure;
    80   // This closure will always be bound to the old gen; it will be used
    76   // This closure will always be bound to the old gen; it will be used
    81   // in evacuate_followers.
    77   // in evacuate_followers.
    82   ParRootScanWithBarrierTwoGensClosure _old_gen_root_closure; // scan_old_root_with_gc_barrier
    78   ParRootScanWithBarrierTwoGensClosure _old_gen_root_closure; // scan_old_root_with_gc_barrier
    83   ParEvacuateFollowersClosure          _evacuate_followers;
    79   ParEvacuateFollowersClosure          _evacuate_followers;
    84   DefNewGeneration::IsAliveClosure     _is_alive_closure;
    80   DefNewGeneration::IsAliveClosure     _is_alive_closure;
    85   ParScanWeakRefClosure                _scan_weak_ref_closure;
    81   ParScanWeakRefClosure                _scan_weak_ref_closure;
    86   ParKeepAliveClosure                  _keep_alive_closure;
    82   ParKeepAliveClosure                  _keep_alive_closure;
    87 
    83 
    88 
       
    89   Space* _to_space;
    84   Space* _to_space;
    90   Space* to_space() { return _to_space; }
    85   Space* to_space() { return _to_space; }
    91 
    86 
    92   ParNewGeneration* _young_gen;
    87   ParNewGeneration* _young_gen;
    93   ParNewGeneration* young_gen() const { return _young_gen; }
    88   ParNewGeneration* young_gen() const { return _young_gen; }