mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-18 18:14:38 +02:00
8139203: Consistent naming for klass type predicates
8138923: Remove oop coupling with InstanceKlass subclasses Renamed oop_is_instance and friends, removed the functions in oop that dug down into InstanceKlass. Reviewed-by: jrose, lfoltan, stefank
This commit is contained in:
parent
5179fc3488
commit
fc03719078
68 changed files with 257 additions and 279 deletions
|
@ -394,7 +394,7 @@ Method* ConstantPoolCacheEntry::method_if_resolved(const constantPoolHandle& cpo
|
|||
int holder_index = cpool->uncached_klass_ref_index_at(constant_pool_index());
|
||||
if (cpool->tag_at(holder_index).is_klass()) {
|
||||
Klass* klass = cpool->resolved_klass_at(holder_index);
|
||||
if (!klass->oop_is_instance())
|
||||
if (!klass->is_instance_klass())
|
||||
klass = SystemDictionary::Object_klass();
|
||||
return InstanceKlass::cast(klass)->method_at_vtable(f2_as_index());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue