< prev index next >

src/share/vm/gc_implementation/g1/g1CollectedHeap.hpp

Print this page
rev 8068 : 6407976: GC worker number should be unsigned
Reviewed-by: jwilhelm


 966   // unnecessary additions to the discovered lists during reference
 967   // discovery.
 968   G1CMIsAliveClosure _is_alive_closure_cm;
 969 
 970   // Cache used by G1CollectedHeap::start_cset_region_for_worker().
 971   HeapRegion** _worker_cset_start_region;
 972 
 973   // Time stamp to validate the regions recorded in the cache
 974   // used by G1CollectedHeap::start_cset_region_for_worker().
 975   // The heap region entry for a given worker is valid iff
 976   // the associated time stamp value matches the current value
 977   // of G1CollectedHeap::_gc_time_stamp.
 978   uint* _worker_cset_start_region_time_stamp;
 979 
 980   volatile bool _free_regions_coming;
 981 
 982 public:
 983 
 984   void set_refine_cte_cl_concurrency(bool concurrent);
 985 
 986   RefToScanQueue *task_queue(int i) const;
 987 
 988   // A set of cards where updates happened during the GC
 989   DirtyCardQueueSet& dirty_card_queue_set() { return _dirty_card_queue_set; }
 990 
 991   // A DirtyCardQueueSet that is used to hold cards that contain
 992   // references into the current collection set. This is used to
 993   // update the remembered sets of the regions in the collection
 994   // set in the event of an evacuation failure.
 995   DirtyCardQueueSet& into_cset_dirty_card_queue_set()
 996         { return _into_cset_dirty_card_queue_set; }
 997 
 998   // Create a G1CollectedHeap with the specified policy.
 999   // Must call the initialize method afterwards.
1000   // May not return if something goes wrong.
1001   G1CollectedHeap(G1CollectorPolicy* policy);
1002 
1003   // Initialize the G1CollectedHeap to have the initial and
1004   // maximum sizes and remembered and barrier sets
1005   // specified by the policy object.
1006   jint initialize();




 966   // unnecessary additions to the discovered lists during reference
 967   // discovery.
 968   G1CMIsAliveClosure _is_alive_closure_cm;
 969 
 970   // Cache used by G1CollectedHeap::start_cset_region_for_worker().
 971   HeapRegion** _worker_cset_start_region;
 972 
 973   // Time stamp to validate the regions recorded in the cache
 974   // used by G1CollectedHeap::start_cset_region_for_worker().
 975   // The heap region entry for a given worker is valid iff
 976   // the associated time stamp value matches the current value
 977   // of G1CollectedHeap::_gc_time_stamp.
 978   uint* _worker_cset_start_region_time_stamp;
 979 
 980   volatile bool _free_regions_coming;
 981 
 982 public:
 983 
 984   void set_refine_cte_cl_concurrency(bool concurrent);
 985 
 986   RefToScanQueue *task_queue(uint i) const;
 987 
 988   // A set of cards where updates happened during the GC
 989   DirtyCardQueueSet& dirty_card_queue_set() { return _dirty_card_queue_set; }
 990 
 991   // A DirtyCardQueueSet that is used to hold cards that contain
 992   // references into the current collection set. This is used to
 993   // update the remembered sets of the regions in the collection
 994   // set in the event of an evacuation failure.
 995   DirtyCardQueueSet& into_cset_dirty_card_queue_set()
 996         { return _into_cset_dirty_card_queue_set; }
 997 
 998   // Create a G1CollectedHeap with the specified policy.
 999   // Must call the initialize method afterwards.
1000   // May not return if something goes wrong.
1001   G1CollectedHeap(G1CollectorPolicy* policy);
1002 
1003   // Initialize the G1CollectedHeap to have the initial and
1004   // maximum sizes and remembered and barrier sets
1005   // specified by the policy object.
1006   jint initialize();


< prev index next >