comparison src/hotspot/share/gc/g1/g1EvacFailure.cpp @ 53912:bb051ca06e9e

8159440: Move marking of promoted objects during initial mark into the concurrent phase Reviewed-by: sjohanss, kbarrett
author tschatzl
date Thu, 06 Dec 2018 13:55:22 +0100
parents c25572739e7c
children 13acc8e38a29
comparison
equal deleted inserted replaced
13:8a9bdd8671d7 14:413557eab776
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);