8023219: NPG: MetaspaceMemoryPool should report statistics for all of metaspace
authorehelin
Mon, 19 Aug 2013 18:17:58 +0200
changeset 19343 5f9b3b1bb00e
parent 19342 f3957eba8935
child 19345 ed97a03b0207
8023219: NPG: MetaspaceMemoryPool should report statistics for all of metaspace Reviewed-by: stefank, sjohanss
hotspot/src/share/vm/services/memoryPool.cpp
--- a/hotspot/src/share/vm/services/memoryPool.cpp	Mon Aug 19 13:44:13 2013 +0200
+++ b/hotspot/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 {