diff options
author | jmasa <none@none> | 2013-06-25 09:58:26 -0700 |
---|---|---|
committer | jmasa <none@none> | 2013-06-25 09:58:26 -0700 |
commit | cea10b7f45dec0491dcd9e367fe820df8c593438 (patch) | |
tree | 889a68f574e9aa6d333a2332a141db0fd975de3d /src/share/vm | |
parent | dfa9078234598c62c62b4e7cfc3d38ed4637f801 (diff) |
8014546: MetaspaceAux print_metaspace_change() should print "used" after GC not capacity
Reviewed-by: johnc, tschatzl
Diffstat (limited to 'src/share/vm')
-rw-r--r-- | src/share/vm/memory/metaspace.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/share/vm/memory/metaspace.cpp b/src/share/vm/memory/metaspace.cpp index c840b9363..9ef94c748 100644 --- a/src/share/vm/memory/metaspace.cpp +++ b/src/share/vm/memory/metaspace.cpp @@ -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); } |