changeset 5117:422920730903

8023219: NPG: MetaspaceMemoryPool should report statistics for all of metaspace Reviewed-by: stefank, sjohanss
author ehelin
date Mon, 19 Aug 2013 18:17:58 +0200
parents d0afbee540e0
children 31f220c1f789
files src/share/vm/services/memoryPool.cpp
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/vm/services/memoryPool.cpp	Mon Aug 19 13:44:13 2013 +0200
+++ b/src/share/vm/services/memoryPool.cpp	Mon Aug 19 18:17:58 2013 +0200
@@ -268,11 +268,11 @@
 }
 
 size_t MetaspacePool::used_in_bytes() {
-  return MetaspaceAux::allocated_used_bytes(Metaspace::NonClassType);
+  return MetaspaceAux::allocated_used_bytes();
 }
 
 size_t MetaspacePool::capacity_in_bytes() const {
-  return MetaspaceAux::allocated_capacity_bytes(Metaspace::NonClassType);
+  return MetaspaceAux::allocated_capacity_bytes();
 }
 
 size_t MetaspacePool::calculate_max_size() const {