Mercurial > hg > truffle
diff src/share/vm/memory/allocation.hpp @ 7176:59c790074993
8003635: NPG: AsynchGetCallTrace broken by Method* virtual call
Summary: Make metaspace::contains be lock free and used to see if something is in metaspace, also compare Method* with vtbl pointer.
Reviewed-by: dholmes, sspitsyn, dcubed, jmasa
author | coleenp |
---|---|
date | Wed, 28 Nov 2012 17:50:21 -0500 |
parents | 716c64bda5ba |
children | 291ffc492eb6 32164d89fe9c |
line wrap: on
line diff
--- a/src/share/vm/memory/allocation.hpp Wed Nov 28 08:43:26 2012 -0800 +++ b/src/share/vm/memory/allocation.hpp Wed Nov 28 17:50:21 2012 -0500 @@ -245,6 +245,7 @@ class MetaspaceObj { public: bool is_metadata() const; + bool is_metaspace_object() const; // more specific test but slower bool is_shared() const; void print_address_on(outputStream* st) const; // nonvirtual address printing