--- old/src/hotspot/share/services/memTracker.cpp 2018-04-24 07:16:37.029261668 +0200 +++ new/src/hotspot/share/services/memTracker.cpp 2018-04-24 07:16:36.897261689 +0200 @@ -177,10 +177,11 @@ } else { MemDetailReporter rpt(baseline, output); rpt.report(); - + output->print("Metaspace:"); // Metadata reporting requires a safepoint, so avoid it if VM is not in good state. assert(!VMError::fatal_error_in_progress(), "Do not report metadata in error report"); - VM_PrintMetadata vmop(output, K); + VM_PrintMetadata vmop(output, K, + MetaspaceUtils::rf_show_loaders); VMThread::execute(&vmop); } }