1.1 --- a/src/share/vm/services/memoryPool.hpp Tue Jun 25 15:17:11 2013 -0700 1.2 +++ b/src/share/vm/services/memoryPool.hpp Wed Jun 26 16:58:37 2013 +0200 1.3 @@ -222,4 +222,21 @@ 1.4 size_t used_in_bytes() { return _codeHeap->allocated_capacity(); } 1.5 }; 1.6 1.7 +class MetaspacePool : public MemoryPool { 1.8 + size_t calculate_max_size() const; 1.9 + size_t capacity_in_bytes() const; 1.10 + public: 1.11 + MetaspacePool(); 1.12 + MemoryUsage get_memory_usage(); 1.13 + size_t used_in_bytes(); 1.14 +}; 1.15 + 1.16 +class CompressedKlassSpacePool : public MemoryPool { 1.17 + size_t capacity_in_bytes() const; 1.18 + public: 1.19 + CompressedKlassSpacePool(); 1.20 + MemoryUsage get_memory_usage(); 1.21 + size_t used_in_bytes(); 1.22 +}; 1.23 + 1.24 #endif // SHARE_VM_SERVICES_MEMORYPOOL_HPP