--- old/src/hotspot/share/gc/g1/g1RemSet.cpp 2018-04-04 14:39:29.990914158 +0200 +++ new/src/hotspot/share/gc/g1/g1RemSet.cpp 2018-04-04 14:39:29.685904827 +0200 @@ -937,9 +937,9 @@ 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 " " + "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(), _cm->liveness(region_idx) * HeapWordSize, + 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();