218 virtual MemRegion used_region() const { return _reserved; } |
218 virtual MemRegion used_region() const { return _reserved; } |
219 |
219 |
220 MemRegion prev_used_region() const { return _prev_used_region; } |
220 MemRegion prev_used_region() const { return _prev_used_region; } |
221 virtual void save_used_region() { _prev_used_region = used_region(); } |
221 virtual void save_used_region() { _prev_used_region = used_region(); } |
222 |
222 |
223 // Returns "TRUE" iff "p" points into an allocated object in the generation. |
223 // Returns "TRUE" iff "p" points into the committed areas in the generation. |
224 // For some kinds of generations, this may be an expensive operation. |
224 // For some kinds of generations, this may be an expensive operation. |
225 // To avoid performance problems stemming from its inadvertent use in |
225 // To avoid performance problems stemming from its inadvertent use in |
226 // product jvm's, we restrict its use to assertion checking or |
226 // product jvm's, we restrict its use to assertion checking or |
227 // verification only. |
227 // verification only. |
228 virtual bool is_in(const void* p) const; |
228 virtual bool is_in(const void* p) const; |