diff --git a/src/hotspot/share/gc/shared/space.hpp b/src/hotspot/share/gc/shared/space.hpp index 2d592bf726b..8e6f4f88a6b 100644 --- a/src/hotspot/share/gc/shared/space.hpp +++ b/src/hotspot/share/gc/shared/space.hpp @@ -117,9 +117,6 @@ class Space: public CHeapObj { bool is_in(const void* p) const { return used_region().contains(p); } - bool is_in(oop obj) const { - return is_in((void*)obj); - } // Returns true iff the given reserved memory of the space contains the // given address.