src/hotspot/share/gc/g1/g1ConcurrentMark.inline.hpp
changeset 51494 1906adbef2dc
parent 50752 9d62da00bf15
child 52875 bb051ca06e9e
equal deleted inserted replaced
51493:6b5f3f5fd63c 51494:1906adbef2dc
    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);