equal
deleted
inserted
replaced
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; |