hotspot/src/share/vm/gc/g1/heapRegion.cpp
changeset 32606 fdaa30d06ada
parent 31592 43f48e165466
child 33105 294e48b4f704
equal deleted inserted replaced
32605:dab0de4ff7ff 32606:fdaa30d06ada
    66   // Start filtering what we add to the remembered set. If the object is
    66   // Start filtering what we add to the remembered set. If the object is
    67   // not considered dead, either because it is marked (in the mark bitmap)
    67   // not considered dead, either because it is marked (in the mark bitmap)
    68   // or it was allocated after marking finished, then we add it. Otherwise
    68   // or it was allocated after marking finished, then we add it. Otherwise
    69   // we can safely ignore the object.
    69   // we can safely ignore the object.
    70   if (!g1h->is_obj_dead(oop(cur), _hr)) {
    70   if (!g1h->is_obj_dead(oop(cur), _hr)) {
    71     oop_size = oop(cur)->oop_iterate(_rs_scan, mr);
    71     oop_size = oop(cur)->oop_iterate_size(_rs_scan, mr);
    72   } else {
    72   } else {
    73     oop_size = _hr->block_size(cur);
    73     oop_size = _hr->block_size(cur);
    74   }
    74   }
    75 
    75 
    76   cur += oop_size;
    76   cur += oop_size;