< prev index next >
src/hotspot/share/gc/g1/g1ConcurrentMark.hpp
Print this page
rev 49670 : imported patch 8178105-switch-at-remark
rev 49674 : imported patch 8154528-reclaim-at-remark
rev 49678 : imported patch 8200426-sangheon-review
rev 49683 : imported patch 8201172-parallelize-remark-phase
rev 49686 : imported patch 8201490-improve-conc-mark-keepalive
rev 49687 : [mq]: 8201490-kim-review
*** 777,793 ****
// Increment the number of references this task has visited.
void increment_refs_reached() { ++_refs_reached; }
// Grey the object by marking it. If not already marked, push it on
// the local queue if below the finger. obj is required to be below its region's NTAMS.
! // Returns whether there has been a mark to the bitmap.
inline bool make_reference_grey(oop obj);
// Grey the object (by calling make_grey_reference) if required,
// e.g. obj is below its containing region's NTAMS.
// Precondition: obj is a valid heap object.
! // Returns true if the reference caused a mark to be set in the next bitmap.
template <class T>
inline bool deal_with_reference(T* p);
// Scans an object and visits its children.
inline void scan_task_entry(G1TaskQueueEntry task_entry);
--- 777,793 ----
// Increment the number of references this task has visited.
void increment_refs_reached() { ++_refs_reached; }
// Grey the object by marking it. If not already marked, push it on
// the local queue if below the finger. obj is required to be below its region's NTAMS.
! // Returns true if a mark was added to the bitmap.
inline bool make_reference_grey(oop obj);
// Grey the object (by calling make_grey_reference) if required,
// e.g. obj is below its containing region's NTAMS.
// Precondition: obj is a valid heap object.
! // Returns true if a mark was added to the bitmap.
template <class T>
inline bool deal_with_reference(T* p);
// Scans an object and visits its children.
inline void scan_task_entry(G1TaskQueueEntry task_entry);
< prev index next >