comparison src/share/vm/memory/allocation.cpp @ 17799:752ba2e5f6d0

Merge
author kvn
date Tue, 25 Feb 2014 15:11:18 -0800
parents a9becfeecd1b 40353abd7984
children 7384f6a12fc1
comparison
equal deleted inserted replaced
17798:f040cf9fc9c0 17799:752ba2e5f6d0
72 72
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
78 bool MetaspaceObj::is_metaspace_object() const { 77 bool MetaspaceObj::is_metaspace_object() const {
79 return Metaspace::contains((void*)this); 78 return ClassLoaderDataGraph::contains((void*)this);
80 } 79 }
81 80
82 void MetaspaceObj::print_address_on(outputStream* st) const { 81 void MetaspaceObj::print_address_on(outputStream* st) const {
83 st->print(" {"INTPTR_FORMAT"}", this); 82 st->print(" {"INTPTR_FORMAT"}", this);
84 } 83 }