# HG changeset patch # User sjohanss # Date 1457943042 -3600 # Node ID 53be04adfdd39a38fa837db263763960dc20ffc5 # Parent 8776e46aa54202556be9cef1e0a27a322c0c7043 8151693: Move print_heap_before/after_gc to debug level Reviewed-by: brutisso, jwilhelm diff -r 8776e46aa542 -r 53be04adfdd3 hotspot/src/share/vm/memory/universe.cpp --- a/hotspot/src/share/vm/memory/universe.cpp Sun Mar 13 19:41:11 2016 +0000 +++ b/hotspot/src/share/vm/memory/universe.cpp Mon Mar 14 09:10:42 2016 +0100 @@ -1093,19 +1093,19 @@ void Universe::print_heap_before_gc() { LogHandle(gc, heap) log; - if (log.is_trace()) { - log.trace("Heap before GC invocations=%u (full %u):", heap()->total_collections(), heap()->total_full_collections()); + if (log.is_debug()) { + log.debug("Heap before GC invocations=%u (full %u):", heap()->total_collections(), heap()->total_full_collections()); ResourceMark rm; - heap()->print_on(log.trace_stream()); + heap()->print_on(log.debug_stream()); } } void Universe::print_heap_after_gc() { LogHandle(gc, heap) log; - if (log.is_trace()) { - log.trace("Heap after GC invocations=%u (full %u):", heap()->total_collections(), heap()->total_full_collections()); + if (log.is_debug()) { + log.debug("Heap after GC invocations=%u (full %u):", heap()->total_collections(), heap()->total_full_collections()); ResourceMark rm; - heap()->print_on(log.trace_stream()); + heap()->print_on(log.debug_stream()); } }