# HG changeset patch # User ehelin # Date 1376929078 -7200 # Node ID 5f9b3b1bb00eacd5321d4f5bb5b2bd8c4f3b8719 # Parent f3957eba893569a28a9e88395c0b65309c80d5f4 8023219: NPG: MetaspaceMemoryPool should report statistics for all of metaspace Reviewed-by: stefank, sjohanss diff -r f3957eba8935 -r 5f9b3b1bb00e 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 {