--- old/src/share/vm/gc/g1/heapRegion.cpp 2017-07-19 17:21:34.173436800 +0200 +++ new/src/share/vm/gc/g1/heapRegion.cpp 2017-07-19 17:21:33.215885000 +0200 @@ -528,7 +528,6 @@ HeapRegion* from = _g1h->heap_region_containing((HeapWord*)p); log.error("Field " PTR_FORMAT " of live obj " PTR_FORMAT " in region [" PTR_FORMAT ", " PTR_FORMAT ")", p2i(p), p2i(_containing_obj), p2i(from->bottom()), p2i(from->end())); - // Unconditional write? LogStream ls(log.error()); print_object(&ls, _containing_obj); log.error("points to obj " PTR_FORMAT " not in the heap", p2i(obj)); @@ -537,7 +536,6 @@ HeapRegion* to = _g1h->heap_region_containing((HeapWord*)obj); log.error("Field " PTR_FORMAT " of live obj " PTR_FORMAT " in region [" PTR_FORMAT ", " PTR_FORMAT ")", p2i(p), p2i(_containing_obj), p2i(from->bottom()), p2i(from->end())); - // Unconditional write? LogStream ls(log.error()); print_object(&ls, _containing_obj); log.error("points to dead obj " PTR_FORMAT " in region [" PTR_FORMAT ", " PTR_FORMAT ")", @@ -598,7 +596,6 @@ log.error("Field " PTR_FORMAT " of obj " PTR_FORMAT ", in region " HR_FORMAT, p2i(p), p2i(_containing_obj), HR_FORMAT_PARAMS(from)); ResourceMark rm; - // Unconditional write? LogStream ls(log.error()); _containing_obj->print_on(&ls); log.error("points to obj " PTR_FORMAT " in region " HR_FORMAT, p2i(obj), HR_FORMAT_PARAMS(to));