--- old/src/share/vm/runtime/os.cpp 2015-11-19 15:35:28.714128515 +0100 +++ new/src/share/vm/runtime/os.cpp 2015-11-19 15:35:28.598128519 +0100 @@ -262,7 +262,7 @@ VMThread::execute(&op1); Universe::print_heap_at_SIGBREAK(); if (PrintClassHistogram) { - VM_GC_HeapInspection op1(gclog_or_tty, true /* force full GC before heap inspection */); + VM_GC_HeapInspection op1(tty, true /* force full GC before heap inspection */); VMThread::execute(&op1); } if (JvmtiExport::should_post_data_dump()) {