--- old/src/share/vm/gc/cms/compactibleFreeListSpace.cpp 2016-04-05 18:09:15.956806318 +0200 +++ new/src/share/vm/gc/cms/compactibleFreeListSpace.cpp 2016-04-05 18:09:15.828802291 +0200 @@ -32,6 +32,7 @@ #include "gc/shared/genCollectedHeap.hpp" #include "gc/shared/space.inline.hpp" #include "gc/shared/spaceDecorator.hpp" +#include "logging/logStream.inline.hpp" #include "memory/allocation.inline.hpp" #include "memory/resourceArea.hpp" #include "memory/universe.inline.hpp" @@ -505,7 +506,10 @@ return; } log.debug("%s", title); - _dictionary->report_statistics(log.debug_stream()); + + LogStream out(log.debug()); + _dictionary->report_statistics(&out); + if (log.is_trace()) { ResourceMark rm; reportIndexedFreeListStatistics(log.trace_stream());