8185624: G1HeapVerifier's VerifyRootsClosure prints important information on info log level
Fix logging of broken oop to error log level instead of info log level Reviewed-by: mgerdin, tschatzl
This commit is contained in:
parent
b885046273
commit
13be218cd2
@ -62,7 +62,7 @@ public:
|
||||
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()));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user