hotspot/src/share/vm/memory/allocation.cpp
changeset 18453 4056af328b00
parent 18065 7d53ab28f937
parent 18439 725ce18186b3
child 18686 c4ab7aae203c
--- a/hotspot/src/share/vm/memory/allocation.cpp	Thu Jun 27 13:40:18 2013 -0700
+++ b/hotspot/src/share/vm/memory/allocation.cpp	Fri Jun 28 02:25:07 2013 -0700
@@ -71,13 +71,6 @@
   return MetaspaceShared::is_in_shared_space(this);
 }
 
-bool MetaspaceObj::is_metadata() const {
-  // GC Verify checks use this in guarantees.
-  // TODO: either replace them with is_metaspace_object() or remove them.
-  // is_metaspace_object() is slower than this test.  This test doesn't
-  // seem very useful for metaspace objects anymore though.
-  return !Universe::heap()->is_in_reserved(this);
-}
 
 bool MetaspaceObj::is_metaspace_object() const {
   return Metaspace::contains((void*)this);