mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 19:14:38 +02:00
8014546: MetaspaceAux print_metaspace_change() should print "used" after GC not capacity
Reviewed-by: johnc, tschatzl
This commit is contained in:
parent
1ddf2378db
commit
a154f7c01e
1 changed files with 2 additions and 2 deletions
|
@ -2608,14 +2608,14 @@ void MetaspaceAux::print_metaspace_change(size_t prev_metadata_used) {
|
|||
"->" SIZE_FORMAT
|
||||
"(" SIZE_FORMAT ")",
|
||||
prev_metadata_used,
|
||||
allocated_capacity_bytes(),
|
||||
allocated_used_bytes(),
|
||||
reserved_in_bytes());
|
||||
} else {
|
||||
gclog_or_tty->print(" " SIZE_FORMAT "K"
|
||||
"->" SIZE_FORMAT "K"
|
||||
"(" SIZE_FORMAT "K)",
|
||||
prev_metadata_used / K,
|
||||
allocated_capacity_bytes() / K,
|
||||
allocated_used_bytes() / K,
|
||||
reserved_in_bytes()/ K);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue