Mercurial > hg > graal-compiler
diff src/share/vm/services/memoryPool.hpp @ 11130:90d6c221d4e5
Merge
author | jprovino |
---|---|
date | Tue, 16 Jul 2013 12:20:08 -0400 |
parents | 71963b3f802a |
children | 73d0d0218068 |
line wrap: on
line diff
--- a/src/share/vm/services/memoryPool.hpp Tue Jul 16 10:55:48 2013 -0400 +++ b/src/share/vm/services/memoryPool.hpp Tue Jul 16 12:20:08 2013 -0400 @@ -222,4 +222,21 @@ size_t used_in_bytes() { return _codeHeap->allocated_capacity(); } }; +class MetaspacePool : public MemoryPool { + size_t calculate_max_size() const; + size_t capacity_in_bytes() const; + public: + MetaspacePool(); + MemoryUsage get_memory_usage(); + size_t used_in_bytes(); +}; + +class CompressedKlassSpacePool : public MemoryPool { + size_t capacity_in_bytes() const; + public: + CompressedKlassSpacePool(); + MemoryUsage get_memory_usage(); + size_t used_in_bytes(); +}; + #endif // SHARE_VM_SERVICES_MEMORYPOOL_HPP