mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
8155730: HeapInfoDCmd should get Heap_lock
Reviewed-by: tschatzl, jprovino
This commit is contained in:
parent
79377a1bf1
commit
5ae683a18f
3 changed files with 3 additions and 1 deletions
|
@ -908,6 +908,7 @@ void VMError::print_vm_info(outputStream* st) {
|
|||
// STEP("printing heap information")
|
||||
|
||||
if (Universe::is_fully_initialized()) {
|
||||
MutexLocker hl(Heap_lock);
|
||||
Universe::heap()->print_on_error(st);
|
||||
st->cr();
|
||||
st->print_cr("Polling page: " INTPTR_FORMAT, p2i(os::get_polling_page()));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue