< prev index next >
src/hotspot/share/gc/g1/g1ConcurrentMark.inline.hpp
Print this page
rev 49290 : imported patch 8197850-calculate-liveness-in-regions-during-marking
rev 49292 : imported patch 8197850-fix-regionmarkstatscache-includes
rev 49294 : imported patch 8180415-rebuild-remembered-set
rev 49305 : imported patch 8197932-stefanj-review2
@@ -179,13 +179,11 @@
region, p2i(_top_at_rebuild_starts[region]));
G1RemSetTrackingPolicy* tracker = _g1h->g1_policy()->remset_tracker();
if (tracker->needs_scan_for_rebuild(r)) {
_top_at_rebuild_starts[region] = r->top();
} else {
- // We could leave the TARS for this region at NULL, but we would not catch
- // accidental double assignment then.
- _top_at_rebuild_starts[region] = r->bottom();
+ // Leave TARS at NULL.
}
}
inline void G1CMTask::update_liveness(oop const obj, const size_t obj_size) {
_mark_stats_cache.add_live_words(_g1h->addr_to_region((HeapWord*)obj), obj_size);
< prev index next >