hotspot/src/share/vm/memory/metaspace.hpp
changeset 14588 8ec26d2d9339
parent 14474 4154f1817a75
child 14590 7d6b69f12b36
--- a/hotspot/src/share/vm/memory/metaspace.hpp	Tue Nov 27 14:11:37 2012 -0800
+++ b/hotspot/src/share/vm/memory/metaspace.hpp	Thu Nov 29 16:50:29 2012 -0500
@@ -160,25 +160,16 @@
 
  public:
   // Total of space allocated to metadata in all Metaspaces
-  static size_t used_in_bytes() {
-    return used_in_bytes(Metaspace::ClassType) +
-           used_in_bytes(Metaspace::NonClassType);
-  }
+  static size_t used_in_bytes();
 
   // Total of available space in all Metaspaces
   // Total of capacity allocated to all Metaspaces.  This includes
   // space in Metachunks not yet allocated and in the Metachunk
   // freelist.
-  static size_t capacity_in_bytes() {
-    return capacity_in_bytes(Metaspace::ClassType) +
-           capacity_in_bytes(Metaspace::NonClassType);
-  }
+  static size_t capacity_in_bytes();
 
   // Total space reserved in all Metaspaces
-  static size_t reserved_in_bytes() {
-    return reserved_in_bytes(Metaspace::ClassType) +
-           reserved_in_bytes(Metaspace::NonClassType);
-  }
+  static size_t reserved_in_bytes();
 
   static size_t min_chunk_size();