hotspot/src/share/vm/gc_implementation/g1/g1CollectedHeap.hpp
changeset 2142 032f4652700c
parent 2009 4adf43957a1b
child 2248 ce45d1a075d3
child 2154 72a9b7284ccf
equal deleted inserted replaced
2141:e9a644aaff87 2142:032f4652700c
   455   // The g1 remembered set of the heap.
   455   // The g1 remembered set of the heap.
   456   G1RemSet* _g1_rem_set;
   456   G1RemSet* _g1_rem_set;
   457   // And it's mod ref barrier set, used to track updates for the above.
   457   // And it's mod ref barrier set, used to track updates for the above.
   458   ModRefBarrierSet* _mr_bs;
   458   ModRefBarrierSet* _mr_bs;
   459 
   459 
       
   460   // A set of cards that cover the objects for which the Rsets should be updated
       
   461   // concurrently after the collection.
       
   462   DirtyCardQueueSet _dirty_card_queue_set;
       
   463 
   460   // The Heap Region Rem Set Iterator.
   464   // The Heap Region Rem Set Iterator.
   461   HeapRegionRemSetIterator** _rem_set_iterator;
   465   HeapRegionRemSetIterator** _rem_set_iterator;
   462 
   466 
   463   // The closure used to refine a single card.
   467   // The closure used to refine a single card.
   464   RefineCardTableEntryClosure* _refine_cte_cl;
   468   RefineCardTableEntryClosure* _refine_cte_cl;
   664 public:
   668 public:
   665   void set_refine_cte_cl_concurrency(bool concurrent);
   669   void set_refine_cte_cl_concurrency(bool concurrent);
   666 
   670 
   667   RefToScanQueue *task_queue(int i);
   671   RefToScanQueue *task_queue(int i);
   668 
   672 
       
   673   // A set of cards where updates happened during the GC
       
   674   DirtyCardQueueSet& dirty_card_queue_set() { return _dirty_card_queue_set; }
       
   675 
   669   // Create a G1CollectedHeap with the specified policy.
   676   // Create a G1CollectedHeap with the specified policy.
   670   // Must call the initialize method afterwards.
   677   // Must call the initialize method afterwards.
   671   // May not return if something goes wrong.
   678   // May not return if something goes wrong.
   672   G1CollectedHeap(G1CollectorPolicy* policy);
   679   G1CollectedHeap(G1CollectorPolicy* policy);
   673 
   680