hotspot/src/share/vm/services/diagnosticCommand.cpp
changeset 36322 218528915a61
parent 35825 7c7652ee137b
child 36334 0ae9bbe75458
--- a/hotspot/src/share/vm/services/diagnosticCommand.cpp	Thu Feb 25 10:42:42 2016 +0100
+++ b/hotspot/src/share/vm/services/diagnosticCommand.cpp	Thu Feb 25 10:44:19 2016 +0100
@@ -832,7 +832,8 @@
 }
 
 void CompileQueueDCmd::execute(DCmdSource source, TRAPS) {
-  CompileBroker::print_compile_queues(output());
+  VM_PrintCompileQueue printCompileQueueOp(output());
+  VMThread::execute(&printCompileQueueOp);
 }
 
 void CodeListDCmd::execute(DCmdSource source, TRAPS) {