equal
deleted
inserted
replaced
206 // In many heaps, there will be a need to perform some initialization activities |
206 // In many heaps, there will be a need to perform some initialization activities |
207 // after the Universe is fully formed, but before general heap allocation is allowed. |
207 // after the Universe is fully formed, but before general heap allocation is allowed. |
208 // This is the correct place to place such initialization methods. |
208 // This is the correct place to place such initialization methods. |
209 virtual void post_initialize() = 0; |
209 virtual void post_initialize() = 0; |
210 |
210 |
|
211 // Stop any onging concurrent work and prepare for exit. |
|
212 virtual void stop() {} |
|
213 |
211 MemRegion reserved_region() const { return _reserved; } |
214 MemRegion reserved_region() const { return _reserved; } |
212 address base() const { return (address)reserved_region().start(); } |
215 address base() const { return (address)reserved_region().start(); } |
213 |
216 |
214 virtual size_t capacity() const = 0; |
217 virtual size_t capacity() const = 0; |
215 virtual size_t used() const = 0; |
218 virtual size_t used() const = 0; |