--- old/src/share/vm/gc/g1/g1HeapVerifier.cpp 2017-07-19 17:21:27.016366900 +0200 +++ new/src/share/vm/gc/g1/g1HeapVerifier.cpp 2017-07-19 17:21:25.992064400 +0200 @@ -67,7 +67,6 @@ log.error(" Mark word: " PTR_FORMAT, p2i(obj->mark())); } ResourceMark rm; - // Unconditional write? LogStream ls(log.error()); obj->print_on(&ls); _failures = true; @@ -411,7 +410,6 @@ // print_extended_on() instead of print_on(). Log(gc, verify) log; ResourceMark rm; - // Unconditional write? LogStream ls(log.error()); _g1h->print_extended_on(&ls); }