/openjdk7/hotspot/src/cpu/zero/vm/ |
H A D | vtableStubs_zero.cpp | 40 VtableStub* VtableStubs::create_vtable_stub(int vtable_index) { argument 44 VtableStub* VtableStubs::create_itable_stub(int vtable_index) { argument
|
/openjdk7/hotspot/src/cpu/x86/vm/ |
H A D | vtableStubs_x86_32.cpp | 59 VtableStub* VtableStubs::create_vtable_stub(int vtable_index) { argument 61 VtableStub* s = new(i486_code_length) VtableStub(true, vtable_index); 84 __ cmpl(Address(rax, instanceKlass::vtable_length_offset()*wordSize), vtable_index*vtableEntry::size()); 86 __ movl(rbx, vtable_index); 95 __ lookup_virtual_method(rax, vtable_index, method); 117 vtable_index, s->entry_point(), 124 assert(vtable_index > 10 || __ pc() + slop <= s->code_end(), "room for 32-bit offset");
|
H A D | vtableStubs_x86_64.cpp | 50 VtableStub* VtableStubs::create_vtable_stub(int vtable_index) { argument 52 VtableStub* s = new(amd64_code_length) VtableStub(true, vtable_index); 77 vtable_index * vtableEntry::size()); 79 __ movl(rbx, vtable_index); 89 __ lookup_virtual_method(rax, vtable_index, method); 110 vtable_index, s->entry_point(), 117 assert(vtable_index > 10 || __ pc() + slop <= s->code_end(), "room for 32-bit offset");
|
H A D | assembler_x86.cpp | 9396 RegisterOrConstant vtable_index, 9401 vtable_index, Address::times_ptr, 9395 lookup_virtual_method(Register recv_klass, RegisterOrConstant vtable_index, Register method_result) argument
|
/openjdk7/hotspot/src/cpu/sparc/vm/ |
H A D | vtableStubs_sparc.cpp | 53 VtableStub* VtableStubs::create_vtable_stub(int vtable_index) { argument 55 VtableStub* s = new(sparc_code_length) VtableStub(true, vtable_index); 78 __ cmp_and_br_short(G5, vtable_index*vtableEntry::size(), Assembler::greaterUnsigned, Assembler::pt, L); 79 __ set(vtable_index, O2); 85 __ lookup_virtual_method(G3_scratch, vtable_index, G5_method); 110 vtable_index, s->entry_point(), 117 assert(vtable_index > 10 || __ pc() + slop <= s->code_end(), "room for sethi;add");
|
H A D | assembler_sparc.cpp | 3022 RegisterOrConstant vtable_index, 3024 assert_different_registers(recv_klass, method_result, vtable_index.register_or_noreg()); 3029 RegisterOrConstant vtable_offset = vtable_index; 3033 // If vtable_index is a register, we will have (sll_ptr N,x; inc_ptr B,x; ld_ptr k,x). 3034 // If vtable_index is a constant, we will have at most (set B+X<<N,t; ld_ptr k,t). 3035 vtable_offset = regcon_sll_ptr(vtable_index, exact_log2(vtableEntry::size() * wordSize), vtable_offset); 3021 lookup_virtual_method(Register recv_klass, RegisterOrConstant vtable_index, Register method_result) argument
|
/openjdk7/hotspot/src/share/vm/interpreter/ |
H A D | linkResolver.hpp | 83 void set_virtual( KlassHandle resolved_klass, KlassHandle selected_klass, methodHandle resolved_method, methodHandle selected_method, int vtable_index , TRAPS); 85 void set_common( KlassHandle resolved_klass, KlassHandle selected_klass, methodHandle resolved_method, methodHandle selected_method, int vtable_index , TRAPS); 100 int vtable_index() const { function in class:CallInfo 172 // same as above for compile-time resolution; returns vtable_index if current_klass if linked
|
H A D | linkResolver.cpp | 78 int vtable_index = methodOopDesc::nonvirtual_vtable_index; local 79 set_common(resolved_klass, resolved_klass, resolved_method, resolved_method, vtable_index, CHECK); 88 int vtable_index = methodOopDesc::invalid_vtable_index; local 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) { argument 97 assert(vtable_index > 110 int vtable_index = methodOopDesc::nonvirtual_vtable_index; local 117 set_common(KlassHandle resolved_klass, KlassHandle selected_klass, methodHandle resolved_method, methodHandle selected_method, int vtable_index, TRAPS) argument 876 int vtable_index = methodOopDesc::invalid_vtable_index; local [all...] |
/openjdk7/hotspot/src/share/vm/code/ |
H A D | vtableStubs.cpp | 114 address VtableStubs::create_stub(bool is_vtable_stub, int vtable_index, methodOop method) { argument 115 assert(vtable_index >= 0, "must be positive"); 117 VtableStub* s = ShareVtableStubs ? lookup(is_vtable_stub, vtable_index) : NULL; 120 s = create_vtable_stub(vtable_index); 122 s = create_itable_stub(vtable_index); 124 enter(is_vtable_stub, vtable_index, s); 127 is_vtable_stub? "vtbl": "itbl", vtable_index, VtableStub::receiver_location()); 135 inline uint VtableStubs::hash(bool is_vtable_stub, int vtable_index){ argument 137 int hash = ((vtable_index << 2) ^ VtableStub::receiver_location()->value()) + vtable_index; 142 lookup(bool is_vtable_stub, int vtable_index) argument 151 enter(bool is_vtable_stub, int vtable_index, VtableStub* s) argument [all...] |
H A D | compiledIC.cpp | 156 // Can be different than method->vtable_index(), due to package-private etc. 157 int vtable_index = call_info->vtable_index(); local 158 entry = VtableStubs::create_stub(true, vtable_index, method());
|
/openjdk7/hotspot/src/share/vm/c1/ |
H A D | c1_Instruction.cpp | 350 int vtable_index, ciMethod* target, ValueStack* state_before) 355 , _vtable_index(vtable_index) 349 Invoke(Bytecodes::Code code, ValueType* result_type, Value recv, Values* args, int vtable_index, ciMethod* target, ValueStack* state_before) argument
|
/openjdk7/hotspot/src/share/vm/ci/ |
H A D | ciMethod.cpp | 262 // ciMethod::vtable_index 265 int ciMethod::vtable_index() { function in class:ciMethod 269 return get_methodOop()->vtable_index(); 697 // Return methodOopDesc::invalid_vtable_index if the vtable_index is unknown. 701 int vtable_index = methodOopDesc::invalid_vtable_index; local 714 vtable_index = LinkResolver::resolve_virtual_vtable_index(h_recv, h_recv, h_name, h_signature, caller_klass); 715 if (vtable_index == methodOopDesc::nonvirtual_vtable_index) { 717 vtable_index = methodOopDesc::invalid_vtable_index; 721 return vtable_index;
|
/openjdk7/hotspot/src/share/vm/opto/ |
H A D | doCall.cpp | 65 CallGenerator* Compile::call_generator(ciMethod* callee, int vtable_index, bool call_does_dispatch, argument 120 vtable_index, call_does_dispatch, jvms, allow_inline, prof_factor, false); 192 CallGenerator* cold_cg = call_generator(callee, vtable_index, call_does_dispatch, jvms, false, prof_factor); 213 vtable_index, !call_does_dispatch, jvms, allow_inline, prof_factor); 223 vtable_index, !call_does_dispatch, jvms, 247 miss_cg = CallGenerator::for_virtual_call(callee, vtable_index); 270 return CallGenerator::for_virtual_call(callee, vtable_index); 420 int vtable_index = methodOopDesc::invalid_vtable_index; local 426 // call_does_dispatch and vtable_index are out-parameters. They might be changed. 429 call_does_dispatch, vtable_index); // ou 881 optimize_virtual_call(ciMethod* caller, int bci, ciInstanceKlass* klass, ciMethod* callee, const TypeOopPtr* receiver_type, bool is_virtual, bool& call_does_dispatch, int& vtable_index) argument [all...] |
H A D | callGenerator.cpp | 167 VirtualCallGenerator(ciMethod* method, int vtable_index) argument 168 : CallGenerator(method), _vtable_index(vtable_index) 170 assert(vtable_index == methodOopDesc::invalid_vtable_index || 171 vtable_index >= 0, "either invalid or usable"); 257 CallGenerator* CallGenerator::for_virtual_call(ciMethod* m, int vtable_index) { argument 260 return new VirtualCallGenerator(m, vtable_index); 743 const int vtable_index = methodOopDesc::invalid_vtable_index; local 744 CallGenerator* cg = C->call_generator(target, vtable_index, false, jvms, true, PROB_ALWAYS, true, true); 797 int vtable_index = methodOopDesc::invalid_vtable_index; local 804 // call_does_dispatch and vtable_index ar [all...] |
H A D | callnode.hpp | 662 CallDynamicJavaNode( const TypeFunc *tf , address addr, ciMethod* method, int vtable_index, int bci ) : CallJavaNode(tf,addr,method,bci), _vtable_index(vtable_index) { argument
|
H A D | library_call.cpp | 3634 int vtable_index = method->vtable_index(); local 3637 vtable_index*vtableEntry::size()) * wordSize + 3677 int vtable_index = methodOopDesc::invalid_vtable_index; local 3684 vtable_index = method->vtable_index(); 3688 method, vtable_index, bci());
|
/openjdk7/hotspot/src/share/vm/oops/ |
H A D | klassVtable.cpp | 116 assert(m->vtable_index() >= 0, "do not ask this of non-vtable methods"); 117 return m->vtable_index(); 213 int vtable_index, Handle target_loader, Symbol* target_classname, Thread * THREAD) { 218 if (vtable_index < ssVtable->length()) { 219 methodOop super_method = ssVtable->method_at(vtable_index); 232 target_method()->name()->as_C_string() : "<NULL>", vtable_index); 623 // by using: old_method->vtable_index() 212 find_transitive_override(instanceKlass* initialsuper, methodHandle target_method, int vtable_index, Handle target_loader, Symbol* target_classname, Thread * THREAD) argument
|
H A D | methodOop.hpp | 72 // | vtable_index | 388 int vtable_index() const { assert(valid_vtable_index(), ""); function in class:methodOopDesc
|
/openjdk7/hotspot/src/share/vm/shark/ |
H A D | sharkTopLevelBlock.cpp | 1111 int vtable_index) { 1124 LLVMValue::intptr_constant(vtable_index)), 1299 int vtable_index = call_method->resolve_vtable_index( local 1301 assert(vtable_index >= 0, "should be"); 1302 callee = get_virtual_callee(receiver, vtable_index); 1110 get_virtual_callee(SharkValue* receiver, int vtable_index) argument
|