src/share/vm/memory/allocation.cpp

changeset 5307
e0c9a1d29eb4
parent 5208
a1ebd310d5c1
child 5321
2b9380b0bf0b
     1.1 --- a/src/share/vm/memory/allocation.cpp	Sun Jun 23 22:08:28 2013 -0700
     1.2 +++ b/src/share/vm/memory/allocation.cpp	Mon Jun 24 18:55:46 2013 -0400
     1.3 @@ -71,13 +71,6 @@
     1.4    return MetaspaceShared::is_in_shared_space(this);
     1.5  }
     1.6  
     1.7 -bool MetaspaceObj::is_metadata() const {
     1.8 -  // GC Verify checks use this in guarantees.
     1.9 -  // TODO: either replace them with is_metaspace_object() or remove them.
    1.10 -  // is_metaspace_object() is slower than this test.  This test doesn't
    1.11 -  // seem very useful for metaspace objects anymore though.
    1.12 -  return !Universe::heap()->is_in_reserved(this);
    1.13 -}
    1.14  
    1.15  bool MetaspaceObj::is_metaspace_object() const {
    1.16    return Metaspace::contains((void*)this);

mercurial