equal
deleted
inserted
replaced
227 /* Returns "TRUE" iff "p" points into the reserved area of the generation. */ |
227 /* Returns "TRUE" iff "p" points into the reserved area of the generation. */ |
228 bool is_in_reserved(const void* p) const { |
228 bool is_in_reserved(const void* p) const { |
229 return _reserved.contains(p); |
229 return _reserved.contains(p); |
230 } |
230 } |
231 |
231 |
232 // Check that the generation kind is DefNewGeneration or a sub |
|
233 // class of DefNewGeneration and return a DefNewGeneration* |
|
234 DefNewGeneration* as_DefNewGeneration(); |
|
235 |
|
236 // If some space in the generation contains the given "addr", return a |
232 // If some space in the generation contains the given "addr", return a |
237 // pointer to that space, else return "NULL". |
233 // pointer to that space, else return "NULL". |
238 virtual Space* space_containing(const void* addr) const; |
234 virtual Space* space_containing(const void* addr) const; |
239 |
235 |
240 // Iteration - do not use for time critical operations |
236 // Iteration - do not use for time critical operations |