mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-19 02:24:40 +02:00
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:
parent
c62c16f94a
commit
1fdc7cd78f
3 changed files with 15 additions and 31 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue