196 PoolType type, |
196 PoolType type, |
197 size_t max_size, |
197 size_t max_size, |
198 bool support_usage_threshold); |
198 bool support_usage_threshold); |
199 |
199 |
200 MemoryUsage get_memory_usage(); |
200 MemoryUsage get_memory_usage(); |
201 size_t used_in_bytes() { return _space->used(); } |
201 size_t used_in_bytes() { return _space->used_stable(); } |
202 }; |
202 }; |
203 #endif // INCLUDE_ALL_GCS |
203 #endif // INCLUDE_ALL_GCS |
204 |
204 |
205 |
205 |
206 class GenerationPool : public CollectedMemoryPool { |
206 class GenerationPool : public CollectedMemoryPool { |