equal
deleted
inserted
replaced
50 // method. |
50 // method. |
51 if (obj == NULL) { |
51 if (obj == NULL) { |
52 return false; |
52 return false; |
53 } |
53 } |
54 assert(_g1h->is_in_reserved(obj), "Trying to discover obj " PTR_FORMAT " not in heap", p2i(obj)); |
54 assert(_g1h->is_in_reserved(obj), "Trying to discover obj " PTR_FORMAT " not in heap", p2i(obj)); |
55 return _g1h->heap_region_containing(obj)->is_old_or_humongous(); |
55 return _g1h->heap_region_containing(obj)->is_old_or_humongous_or_archive(); |
56 } |
56 } |
57 |
57 |
58 inline bool G1ConcurrentMark::mark_in_next_bitmap(uint const worker_id, oop const obj, size_t const obj_size) { |
58 inline bool G1ConcurrentMark::mark_in_next_bitmap(uint const worker_id, oop const obj, size_t const obj_size) { |
59 HeapRegion* const hr = _g1h->heap_region_containing(obj); |
59 HeapRegion* const hr = _g1h->heap_region_containing(obj); |
60 return mark_in_next_bitmap(worker_id, hr, obj, obj_size); |
60 return mark_in_next_bitmap(worker_id, hr, obj, obj_size); |