Mercurial > hg > truffle
comparison src/share/vm/services/memoryPool.hpp @ 11198:1e6d5dec4a4e
Merge.
author | Christian Humer <christian.humer@gmail.com> |
---|---|
date | Mon, 05 Aug 2013 13:20:06 +0200 |
parents | 71963b3f802a |
children | 73d0d0218068 |
comparison
equal
deleted
inserted
replaced
11197:3479ab380552 | 11198:1e6d5dec4a4e |
---|---|
220 CodeHeapPool(CodeHeap* codeHeap, const char* name, bool support_usage_threshold); | 220 CodeHeapPool(CodeHeap* codeHeap, const char* name, bool support_usage_threshold); |
221 MemoryUsage get_memory_usage(); | 221 MemoryUsage get_memory_usage(); |
222 size_t used_in_bytes() { return _codeHeap->allocated_capacity(); } | 222 size_t used_in_bytes() { return _codeHeap->allocated_capacity(); } |
223 }; | 223 }; |
224 | 224 |
225 class MetaspacePool : public MemoryPool { | |
226 size_t calculate_max_size() const; | |
227 size_t capacity_in_bytes() const; | |
228 public: | |
229 MetaspacePool(); | |
230 MemoryUsage get_memory_usage(); | |
231 size_t used_in_bytes(); | |
232 }; | |
233 | |
234 class CompressedKlassSpacePool : public MemoryPool { | |
235 size_t capacity_in_bytes() const; | |
236 public: | |
237 CompressedKlassSpacePool(); | |
238 MemoryUsage get_memory_usage(); | |
239 size_t used_in_bytes(); | |
240 }; | |
241 | |
225 #endif // SHARE_VM_SERVICES_MEMORYPOOL_HPP | 242 #endif // SHARE_VM_SERVICES_MEMORYPOOL_HPP |