mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 02:54:35 +02:00
8003635: NPG: AsynchGetCallTrace broken by Method* virtual call
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
This commit is contained in:
parent
696ef20cb4
commit
6538c5134b
14 changed files with 60 additions and 80 deletions
|
@ -245,6 +245,7 @@ class ClassLoaderData;
|
|||
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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue