changeset 13629:3c3e9a1d65bd

8185624: G1HeapVerifier's VerifyRootsClosure prints important information on info log level Summary: Fix logging of broken oop to error log level instead of info log level Reviewed-by: mgerdin, tschatzl Contributed-by: muthusamy.chinnathambi@oracle.com
author dbuck
date Tue, 29 Aug 2017 05:33:15 -0400
parents a20f0fa4c426
children 35670a2b20d5
files src/share/vm/gc/g1/g1HeapVerifier.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/vm/gc/g1/g1HeapVerifier.cpp	Mon Aug 28 23:46:22 2017 +0000
+++ b/src/share/vm/gc/g1/g1HeapVerifier.cpp	Tue Aug 29 05:33:15 2017 -0400
@@ -62,7 +62,7 @@
       oop obj = oopDesc::decode_heap_oop_not_null(heap_oop);
       if (_g1h->is_obj_dead_cond(obj, _vo)) {
         Log(gc, verify) log;
-        log.info("Root location " PTR_FORMAT " points to dead obj " PTR_FORMAT, p2i(p), p2i(obj));
+        log.error("Root location " PTR_FORMAT " points to dead obj " PTR_FORMAT, p2i(p), p2i(obj));
         if (_vo == VerifyOption_G1UseMarkWord) {
           log.error("  Mark word: " PTR_FORMAT, p2i(obj->mark()));
         }