Mercurial > hg > graal-compiler
comparison src/share/vm/memory/metaspaceCounters.cpp @ 17866:270d7cb38f40
8038934: Remove prefix allocated_ from methods and variables in Metaspace
Reviewed-by: jmasa, coleenp
author | ehelin |
---|---|
date | Mon, 31 Mar 2014 17:09:38 +0200 |
parents | 55fb97c4c58d |
children | 52b4284cb496 |
comparison
equal
deleted
inserted
replaced
17865:fa21c9537e6e | 17866:270d7cb38f40 |
---|---|
64 }; | 64 }; |
65 | 65 |
66 MetaspacePerfCounters* MetaspaceCounters::_perf_counters = NULL; | 66 MetaspacePerfCounters* MetaspaceCounters::_perf_counters = NULL; |
67 | 67 |
68 size_t MetaspaceCounters::used() { | 68 size_t MetaspaceCounters::used() { |
69 return MetaspaceAux::allocated_used_bytes(); | 69 return MetaspaceAux::used_bytes(); |
70 } | 70 } |
71 | 71 |
72 size_t MetaspaceCounters::capacity() { | 72 size_t MetaspaceCounters::capacity() { |
73 return MetaspaceAux::committed_bytes(); | 73 return MetaspaceAux::committed_bytes(); |
74 } | 74 } |
96 } | 96 } |
97 | 97 |
98 MetaspacePerfCounters* CompressedClassSpaceCounters::_perf_counters = NULL; | 98 MetaspacePerfCounters* CompressedClassSpaceCounters::_perf_counters = NULL; |
99 | 99 |
100 size_t CompressedClassSpaceCounters::used() { | 100 size_t CompressedClassSpaceCounters::used() { |
101 return MetaspaceAux::allocated_used_bytes(Metaspace::ClassType); | 101 return MetaspaceAux::used_bytes(Metaspace::ClassType); |
102 } | 102 } |
103 | 103 |
104 size_t CompressedClassSpaceCounters::capacity() { | 104 size_t CompressedClassSpaceCounters::capacity() { |
105 return MetaspaceAux::committed_bytes(Metaspace::ClassType); | 105 return MetaspaceAux::committed_bytes(Metaspace::ClassType); |
106 } | 106 } |