Lines Matching defs:vtable_index
78 int vtable_index = methodOopDesc::nonvirtual_vtable_index;
79 set_common(resolved_klass, resolved_klass, resolved_method, resolved_method, vtable_index, CHECK);
88 int vtable_index = methodOopDesc::invalid_vtable_index;
90 assert(resolved_method->vtable_index() == selected_method->vtable_index(), "sanity check");
91 vtable_index = resolved_method->vtable_index();
93 set_common(resolved_klass, selected_klass, resolved_method, selected_method, vtable_index, CHECK);
96 void CallInfo::set_virtual(KlassHandle resolved_klass, KlassHandle selected_klass, methodHandle resolved_method, methodHandle selected_method, int vtable_index, TRAPS) {
97 assert(vtable_index >= 0 || vtable_index == methodOopDesc::nonvirtual_vtable_index, "valid index");
98 set_common(resolved_klass, selected_klass, resolved_method, selected_method, vtable_index, CHECK);
110 int vtable_index = methodOopDesc::nonvirtual_vtable_index;
111 assert(resolved_method->vtable_index() == vtable_index, "");
112 set_common(resolved_klass, resolved_klass, resolved_method, resolved_method, vtable_index, CHECK);
117 void CallInfo::set_common(KlassHandle resolved_klass, KlassHandle selected_klass, methodHandle resolved_method, methodHandle selected_method, int vtable_index, TRAPS) {
123 _vtable_index = vtable_index;
876 int vtable_index = methodOopDesc::invalid_vtable_index;
897 vtable_index = vtable_index_of_miranda_method(resolved_klass,
900 assert(vtable_index >= 0 , "we should have valid vtable index at this point");
903 selected_method = methodHandle(THREAD, inst->method_at_vtable(vtable_index));
907 vtable_index = resolved_method->vtable_index();
908 // We could get a negative vtable_index for final methods,
913 if (vtable_index == methodOopDesc::nonvirtual_vtable_index) {
920 selected_method = methodHandle(THREAD, inst->method_at_vtable(vtable_index));
943 result.set_virtual(resolved_klass, recv_klass, resolved_method, selected_method, vtable_index, CHECK);
1094 return info.vtable_index();