< prev index next >

src/hotspot/share/gc/g1/g1ConcurrentMark.hpp

Print this page
rev 53988 : imported patch 8219100-cleanup-young-collection-prologue


 562   // Do concurrent preclean work.
 563   void preclean();
 564 
 565   void remark();
 566 
 567   void cleanup();
 568   // Mark in the previous bitmap. Caution: the prev bitmap is usually read-only, so use
 569   // this carefully.
 570   inline void mark_in_prev_bitmap(oop p);
 571 
 572   // Clears marks for all objects in the given range, for the prev or
 573   // next bitmaps.  Caution: the previous bitmap is usually
 574   // read-only, so use this carefully!
 575   void clear_range_in_prev_bitmap(MemRegion mr);
 576 
 577   inline bool is_marked_in_prev_bitmap(oop p) const;
 578 
 579   // Verify that there are no collection set oops on the stacks (taskqueues /
 580   // global mark stack) and fingers (global / per-task).
 581   // If marking is not in progress, it's a no-op.
 582   void verify_no_cset_oops() PRODUCT_RETURN;
 583 
 584   inline bool do_yield_check();
 585 
 586   bool has_aborted()      { return _has_aborted; }
 587 
 588   void print_summary_info();
 589 
 590   void print_worker_threads_on(outputStream* st) const;
 591   void threads_do(ThreadClosure* tc) const;
 592 
 593   void print_on_error(outputStream* st) const;
 594 
 595   // Mark the given object on the next bitmap if it is below nTAMS.
 596   inline bool mark_in_next_bitmap(uint worker_id, HeapRegion* const hr, oop const obj);
 597   inline bool mark_in_next_bitmap(uint worker_id, oop const obj);
 598 
 599   inline bool is_marked_in_next_bitmap(oop p) const;
 600 
 601   // Returns true if initialization was successfully completed.
 602   bool completed_initialization() const {




 562   // Do concurrent preclean work.
 563   void preclean();
 564 
 565   void remark();
 566 
 567   void cleanup();
 568   // Mark in the previous bitmap. Caution: the prev bitmap is usually read-only, so use
 569   // this carefully.
 570   inline void mark_in_prev_bitmap(oop p);
 571 
 572   // Clears marks for all objects in the given range, for the prev or
 573   // next bitmaps.  Caution: the previous bitmap is usually
 574   // read-only, so use this carefully!
 575   void clear_range_in_prev_bitmap(MemRegion mr);
 576 
 577   inline bool is_marked_in_prev_bitmap(oop p) const;
 578 
 579   // Verify that there are no collection set oops on the stacks (taskqueues /
 580   // global mark stack) and fingers (global / per-task).
 581   // If marking is not in progress, it's a no-op.
 582   void verify_no_collection_set_oops_in_stacks() PRODUCT_RETURN;
 583 
 584   inline bool do_yield_check();
 585 
 586   bool has_aborted()      { return _has_aborted; }
 587 
 588   void print_summary_info();
 589 
 590   void print_worker_threads_on(outputStream* st) const;
 591   void threads_do(ThreadClosure* tc) const;
 592 
 593   void print_on_error(outputStream* st) const;
 594 
 595   // Mark the given object on the next bitmap if it is below nTAMS.
 596   inline bool mark_in_next_bitmap(uint worker_id, HeapRegion* const hr, oop const obj);
 597   inline bool mark_in_next_bitmap(uint worker_id, oop const obj);
 598 
 599   inline bool is_marked_in_next_bitmap(oop p) const;
 600 
 601   // Returns true if initialization was successfully completed.
 602   bool completed_initialization() const {


< prev index next >