equal
deleted
inserted
replaced
302 set_top(bottom()); |
302 set_top(bottom()); |
303 set_saved_mark(); |
303 set_saved_mark(); |
304 CompactibleSpace::clear(mangle_space); |
304 CompactibleSpace::clear(mangle_space); |
305 } |
305 } |
306 |
306 |
307 bool Space::is_in(const void* p) const { |
|
308 HeapWord* b = block_start_const(p); |
|
309 return b != NULL && block_is_obj(b); |
|
310 } |
|
311 |
|
312 bool ContiguousSpace::is_in(const void* p) const { |
307 bool ContiguousSpace::is_in(const void* p) const { |
313 return _bottom <= p && p < _top; |
308 return _bottom <= p && p < _top; |
314 } |
309 } |
315 |
310 |
316 bool ContiguousSpace::is_free_block(const HeapWord* p) const { |
311 bool ContiguousSpace::is_free_block(const HeapWord* p) const { |