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

@ -338,10 +338,6 @@ class CompactibleFreeListSpace: public CompactibleSpace {
unallocated_block() : end());
}
bool is_in(const void* p) const {
return used_region().contains(p);
}
virtual bool is_free_block(const HeapWord* p) const;
// Resizing support