< prev index next >

src/hotspot/share/gc/g1/g1RemSet.cpp

Print this page
rev 49539 : imported patch 8178105-switch-at-remark
rev 49542 : imported patch 8178105-8200371-assert-problem

*** 935,947 **** // Simply filter out those regions. We can not just use region type because there // might have already been new allocations into these regions. DEBUG_ONLY(HeapWord* const top_at_rebuild_start = _cm->top_at_rebuild_start(region_idx);) assert(top_at_rebuild_start == NULL || total_marked_bytes == hr->marked_bytes(), ! "Marked bytes " SIZE_FORMAT " for region %u (%s) in [bottom, TAMS) do not match liveness during mark " SIZE_FORMAT " " "(" PTR_FORMAT " " PTR_FORMAT " " PTR_FORMAT ")", ! total_marked_bytes, hr->hrm_index(), hr->get_type_str(), _cm->liveness(region_idx) * HeapWordSize, p2i(hr->bottom()), p2i(top_at_mark_start), p2i(top_at_rebuild_start)); // Abort state may have changed after the yield check. return _cm->has_aborted(); } }; --- 935,947 ---- // Simply filter out those regions. We can not just use region type because there // might have already been new allocations into these regions. DEBUG_ONLY(HeapWord* const top_at_rebuild_start = _cm->top_at_rebuild_start(region_idx);) assert(top_at_rebuild_start == NULL || total_marked_bytes == hr->marked_bytes(), ! "Marked bytes " SIZE_FORMAT " for region %u (%s) in [bottom, TAMS) do not match calculated marked bytes " SIZE_FORMAT " " "(" PTR_FORMAT " " PTR_FORMAT " " PTR_FORMAT ")", ! total_marked_bytes, hr->hrm_index(), hr->get_type_str(), hr->marked_bytes(), p2i(hr->bottom()), p2i(top_at_mark_start), p2i(top_at_rebuild_start)); // Abort state may have changed after the yield check. return _cm->has_aborted(); } };
< prev index next >