8038405: Clean up some virtual fucntions in Space class hierarchy

Get rid of some duplicated implementations and change nonsense implementations to pure virtuals

Reviewed-by: stefank, jmasa
This commit is contained in:
Mikael Gerdin 2014-03-12 15:25:35 +01:00
parent c62c16f94a
commit 1fdc7cd78f
3 changed files with 15 additions and 31 deletions

View file

@ -302,10 +302,6 @@ void ContiguousSpace::clear(bool mangle_space) {
CompactibleSpace::clear(mangle_space);
}
bool ContiguousSpace::is_in(const void* p) const {
return _bottom <= p && p < _top;
}
bool ContiguousSpace::is_free_block(const HeapWord* p) const {
return p >= _top;
}