src/share/vm/memory/generation.hpp

changeset 3335
3c648b9ad052
parent 2314
f95d63e2154a
child 3339
e7dead7e90af
equal deleted inserted replaced
3328:6d7d0790074d 3335:3c648b9ad052
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;

mercurial