equal
deleted
inserted
replaced
19 * or visit www.oracle.com if you need additional information or have any |
19 * or visit www.oracle.com if you need additional information or have any |
20 * questions. |
20 * questions. |
21 * |
21 * |
22 */ |
22 */ |
23 |
23 |
24 #ifndef SHARE_VM_GC_EPSILON_EPSILONMEMORYPOOL_HPP |
24 #ifndef SHARE_GC_EPSILON_EPSILONMEMORYPOOL_HPP |
25 #define SHARE_VM_GC_EPSILON_EPSILONMEMORYPOOL_HPP |
25 #define SHARE_GC_EPSILON_EPSILONMEMORYPOOL_HPP |
26 |
26 |
27 #include "gc/epsilon/epsilonHeap.hpp" |
27 #include "gc/epsilon/epsilonHeap.hpp" |
28 #include "services/memoryPool.hpp" |
28 #include "services/memoryPool.hpp" |
29 #include "services/memoryUsage.hpp" |
29 #include "services/memoryUsage.hpp" |
30 #include "utilities/macros.hpp" |
30 #include "utilities/macros.hpp" |
39 size_t used_in_bytes() { return _heap->used(); } |
39 size_t used_in_bytes() { return _heap->used(); } |
40 size_t max_size() const { return _heap->max_capacity(); } |
40 size_t max_size() const { return _heap->max_capacity(); } |
41 MemoryUsage get_memory_usage(); |
41 MemoryUsage get_memory_usage(); |
42 }; |
42 }; |
43 |
43 |
44 #endif // SHARE_VM_GC_EPSILON_EPSILONMEMORYPOOL_HPP |
44 #endif // SHARE_GC_EPSILON_EPSILONMEMORYPOOL_HPP |