equal
deleted
inserted
replaced
275 } |
275 } |
276 |
276 |
277 ++_refs_reached; |
277 ++_refs_reached; |
278 |
278 |
279 HeapWord* objAddr = (HeapWord*) obj; |
279 HeapWord* objAddr = (HeapWord*) obj; |
280 assert(obj->is_oop_or_null(true /* ignore mark word */), "Error"); |
280 assert(obj->is_oop_or_null(true /* ignore mark word */), err_msg("Expected an oop or NULL at " PTR_FORMAT, p2i(obj))); |
281 if (_g1h->is_in_g1_reserved(objAddr)) { |
281 if (_g1h->is_in_g1_reserved(objAddr)) { |
282 assert(obj != NULL, "null check is implicit"); |
282 assert(obj != NULL, "null check is implicit"); |
283 if (!_nextMarkBitMap->isMarked(objAddr)) { |
283 if (!_nextMarkBitMap->isMarked(objAddr)) { |
284 // Only get the containing region if the object is not marked on the |
284 // Only get the containing region if the object is not marked on the |
285 // bitmap (otherwise, it's a waste of time since we won't do |
285 // bitmap (otherwise, it's a waste of time since we won't do |