changeset 39401 | 318e93828de1 |
parent 37267 | ad8c0e8de29f |
child 41067 | 77a87b5e001c |
--- a/hotspot/src/share/vm/services/diagnosticCommand.cpp Mon Jun 20 22:02:20 2016 -0700 +++ b/hotspot/src/share/vm/services/diagnosticCommand.cpp Tue Jun 21 09:19:53 2016 +0200 @@ -413,6 +413,7 @@ } void HeapInfoDCmd::execute(DCmdSource source, TRAPS) { + MutexLocker hl(Heap_lock); Universe::heap()->print_on(output()); }