diff src/share/vm/memory/space.cpp @ 20267:ff1e37e7eb83

8038405: Clean up some virtual fucntions in Space class hierarchy Summary: Get rid of some duplicated implementations and change nonsense implementations to pure virtuals Reviewed-by: stefank, jmasa
author mgerdin
date Wed, 12 Mar 2014 15:25:35 +0100
parents 6c523f5d5440
children 1526a938e670
line wrap: on
line diff
--- a/src/share/vm/memory/space.cpp	Wed Mar 12 17:13:48 2014 +0100
+++ b/src/share/vm/memory/space.cpp	Wed Mar 12 15:25:35 2014 +0100
@@ -306,10 +306,6 @@
   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;
 }