hotspot/src/share/vm/memory/allocation.cpp
changeset 24457 0e20b36df5c4
parent 24431 3ffc38ad9083
child 24827 82b56982e1af
equal deleted inserted replaced
24456:8c7933fa5a1f 24457:0e20b36df5c4
    73 bool MetaspaceObj::is_shared() const {
    73 bool MetaspaceObj::is_shared() const {
    74   return MetaspaceShared::is_in_shared_space(this);
    74   return MetaspaceShared::is_in_shared_space(this);
    75 }
    75 }
    76 
    76 
    77 bool MetaspaceObj::is_metaspace_object() const {
    77 bool MetaspaceObj::is_metaspace_object() const {
    78   return ClassLoaderDataGraph::contains((void*)this);
    78   return Metaspace::contains((void*)this);
    79 }
    79 }
    80 
    80 
    81 void MetaspaceObj::print_address_on(outputStream* st) const {
    81 void MetaspaceObj::print_address_on(outputStream* st) const {
    82   st->print(" {" INTPTR_FORMAT "}", p2i(this));
    82   st->print(" {" INTPTR_FORMAT "}", p2i(this));
    83 }
    83 }