src/share/vm/memory/allocation.cpp

changeset 5321
2b9380b0bf0b
parent 5251
eaf3742822ec
parent 5307
e0c9a1d29eb4
child 5368
cf9d71d3e474
     1.1 --- a/src/share/vm/memory/allocation.cpp	Thu Jun 27 13:40:18 2013 -0700
     1.2 +++ b/src/share/vm/memory/allocation.cpp	Fri Jun 28 02:25:07 2013 -0700
     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