comparison src/share/vm/jvmci/jvmciCompilerToVM.cpp @ 9618:4535697211eb

8139203: Consistent naming for klass type predicates 8138923: Remove oop coupling with InstanceKlass subclasses Summary: Renamed oop_is_instance and friends, removed the functions in oop that dug down into InstanceKlass. Reviewed-by: jrose, lfoltan, stefank
author coleenp
date Wed, 28 Oct 2015 09:47:23 -0400
parents 6ab7e19c9220
children a20807e48002
comparison
equal deleted inserted replaced
1:faec26a3ee8b 2:f0de553e8a83
547 C2V_VMENTRY(jobject, resolveMethod, (JNIEnv *, jobject, jobject receiver_jvmci_type, jobject jvmci_method, jobject caller_jvmci_type)) 547 C2V_VMENTRY(jobject, resolveMethod, (JNIEnv *, jobject, jobject receiver_jvmci_type, jobject jvmci_method, jobject caller_jvmci_type))
548 Klass* recv_klass = CompilerToVM::asKlass(receiver_jvmci_type); 548 Klass* recv_klass = CompilerToVM::asKlass(receiver_jvmci_type);
549 Klass* caller_klass = CompilerToVM::asKlass(caller_jvmci_type); 549 Klass* caller_klass = CompilerToVM::asKlass(caller_jvmci_type);
550 Method* method = CompilerToVM::asMethod(jvmci_method); 550 Method* method = CompilerToVM::asMethod(jvmci_method);
551 551
552 if (recv_klass->oop_is_array() || (InstanceKlass::cast(recv_klass)->is_linked())) { 552 if (recv_klass->is_array_klass() || (InstanceKlass::cast(recv_klass)->is_linked())) {
553 Klass* holder_klass = method->method_holder(); 553 Klass* holder_klass = method->method_holder();
554 Symbol* method_name = method->name(); 554 Symbol* method_name = method->name();
555 Symbol* method_signature = method->signature(); 555 Symbol* method_signature = method->signature();
556 556
557 if (holder_klass->is_interface()) { 557 if (holder_klass->is_interface()) {