< prev index next >
src/share/vm/gc/g1/g1CollectedHeap.inline.hpp
Print this page
rev 13138 : [mq]: 8175554-erikd-review3
*** 137,147 ****
inline bool G1CollectedHeap::isMarkedNext(oop obj) const {
return _cm->nextMarkBitMap()->isMarked((HeapWord *)obj);
}
inline bool G1CollectedHeap::is_in_cset(oop obj) {
! return _in_cset_fast_test.is_in_cset((HeapWord*)obj);
}
bool G1CollectedHeap::is_in_cset(const HeapRegion* hr) {
return _in_cset_fast_test.is_in_cset(hr);
}
--- 137,151 ----
inline bool G1CollectedHeap::isMarkedNext(oop obj) const {
return _cm->nextMarkBitMap()->isMarked((HeapWord *)obj);
}
inline bool G1CollectedHeap::is_in_cset(oop obj) {
! return is_in_cset((HeapWord*)obj);
! }
!
! inline bool G1CollectedHeap::is_in_cset(HeapWord* addr) {
! return _in_cset_fast_test.is_in_cset(addr);
}
bool G1CollectedHeap::is_in_cset(const HeapRegion* hr) {
return _in_cset_fast_test.is_in_cset(hr);
}
< prev index next >