--- a/hotspot/src/share/vm/memory/generation.hpp Mon Dec 01 12:11:11 2014 +0100
+++ b/hotspot/src/share/vm/memory/generation.hpp Tue Dec 02 09:51:16 2014 +0100
@@ -229,10 +229,6 @@
return _reserved.contains(p);
}
- // Check that the generation kind is DefNewGeneration or a sub
- // class of DefNewGeneration and return a DefNewGeneration*
- DefNewGeneration* as_DefNewGeneration();
-
// If some space in the generation contains the given "addr", return a
// pointer to that space, else return "NULL".
virtual Space* space_containing(const void* addr) const;