mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 03:24:38 +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
|
@ -48,8 +48,8 @@ void CompiledICHolder::print_value_on(outputStream* st) const {
|
|||
// Verification
|
||||
|
||||
void CompiledICHolder::verify_on(outputStream* st) {
|
||||
guarantee(holder_method()->is_metadata(), "should be in permspace");
|
||||
guarantee(holder_method()->is_metadata(), "should be in metaspace");
|
||||
guarantee(holder_method()->is_method(), "should be method");
|
||||
guarantee(holder_klass()->is_metadata(), "should be in permspace");
|
||||
guarantee(holder_klass()->is_metadata(), "should be in metaspace");
|
||||
guarantee(holder_klass()->is_klass(), "should be klass");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue