src/hotspot/share/gc/g1/g1EvacFailure.cpp
changeset 52875 bb051ca06e9e
parent 51332 c25572739e7c
child 53747 13acc8e38a29
equal deleted inserted replaced
52874:c45a5b46461b 52875:bb051ca06e9e
   124         // still pointed to be roots. During concurrent marking, and
   124         // still pointed to be roots. During concurrent marking, and
   125         // after initial-mark, we don't need to mark any objects
   125         // after initial-mark, we don't need to mark any objects
   126         // explicitly and all objects in the CSet are considered
   126         // explicitly and all objects in the CSet are considered
   127         // (implicitly) live. So, we won't mark them explicitly and
   127         // (implicitly) live. So, we won't mark them explicitly and
   128         // we'll leave them over NTAMS.
   128         // we'll leave them over NTAMS.
   129         _cm->mark_in_next_bitmap(_worker_id, obj);
   129         _cm->mark_in_next_bitmap(_worker_id, _hr, obj);
   130       }
   130       }
   131       size_t obj_size = obj->size();
   131       size_t obj_size = obj->size();
   132 
   132 
   133       _marked_bytes += (obj_size * HeapWordSize);
   133       _marked_bytes += (obj_size * HeapWordSize);
   134       PreservedMarks::init_forwarded_mark(obj);
   134       PreservedMarks::init_forwarded_mark(obj);