hotspot/src/share/vm/memory/metaspaceCounters.cpp
changeset 23854 50f7f89b34e0
parent 22234 da823d78ad65
--- a/hotspot/src/share/vm/memory/metaspaceCounters.cpp	Wed Mar 26 14:15:02 2014 +0100
+++ b/hotspot/src/share/vm/memory/metaspaceCounters.cpp	Mon Mar 31 17:09:38 2014 +0200
@@ -66,7 +66,7 @@
 MetaspacePerfCounters* MetaspaceCounters::_perf_counters = NULL;
 
 size_t MetaspaceCounters::used() {
-  return MetaspaceAux::allocated_used_bytes();
+  return MetaspaceAux::used_bytes();
 }
 
 size_t MetaspaceCounters::capacity() {
@@ -98,7 +98,7 @@
 MetaspacePerfCounters* CompressedClassSpaceCounters::_perf_counters = NULL;
 
 size_t CompressedClassSpaceCounters::used() {
-  return MetaspaceAux::allocated_used_bytes(Metaspace::ClassType);
+  return MetaspaceAux::used_bytes(Metaspace::ClassType);
 }
 
 size_t CompressedClassSpaceCounters::capacity() {