/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/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 | vtableStubs.hpp | 119 static VtableStub* create_vtable_stub(int vtable_index); 120 static VtableStub* create_itable_stub(int vtable_index); 121 static VtableStub* lookup (bool is_vtable_stub, int vtable_index); 122 static void enter (bool is_vtable_stub, int vtable_index, VtableStub* s); 123 static inline uint hash (bool is_vtable_stub, int vtable_index); 126 static address create_stub(bool is_vtable_stub, int vtable_index, methodOop method); // return the entry point of a stub for this call
|
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/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");
|
/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");
|
/openjdk7/hotspot/src/share/vm/interpreter/ |
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...] |
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
|
/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 | callGenerator.hpp | 118 static CallGenerator* for_virtual_call(ciMethod* m, int vtable_index); // virtual, interface
|
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 | compile.hpp | 781 CallGenerator* call_generator(ciMethod* call_method, int vtable_index, bool call_does_dispatch, JVMState* jvms, bool allow_inline, float profile_factor, bool allow_intrinsics = true, bool delayed_forbidden = false); 788 bool &call_does_dispatch, int &vtable_index);
|
/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;
|
H A D | ciMethod.hpp | 186 int vtable_index();
|
/openjdk7/hotspot/src/share/vm/oops/ |
H A D | cpCacheOop.cpp | 162 int vtable_index) { 190 assert(vtable_index >= 0, "valid index"); 195 set_f2(vtable_index);
|
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 | klassVtable.hpp | 134 instanceKlass* find_transitive_override(instanceKlass* initialsuper, methodHandle target_method, int vtable_index,
|
H A D | methodOop.cpp | 455 return vtable_index() == nonvirtual_vtable_index; 876 if (vtable_index() == nonvirtual_vtable_index) { 879 methodOop vt_m = ik->method_at_vtable(vtable_index());
|
H A D | cpCacheOop.hpp | 217 int vtable_index // the vtable index if any, else negative
|
/openjdk7/hotspot/src/share/vm/shark/ |
H A D | sharkTopLevelBlock.hpp | 420 llvm::Value* get_virtual_callee(SharkValue* receiver, int vtable_index);
|
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
|
/openjdk7/hotspot/src/share/vm/prims/ |
H A D | jvmtiRedefineClasses.cpp | 2794 assert(old_method->vtable_index() < 0, 3425 RC_TRACE_NO_CR(0x00004000, ("%4d (%5d) ", j, m->vtable_index())); 3434 RC_TRACE_NO_CR(0x00004000, ("%4d (%5d) ", j, m->vtable_index())); 3443 RC_TRACE_NO_CR(0x00004000, ("%4d (%5d) ", j, m->vtable_index())); 3449 RC_TRACE_NO_CR(0x00004000, (" (%5d) ", m->vtable_index())); 3456 RC_TRACE_NO_CR(0x00004000, ("%4d (%5d) ", j, m->vtable_index())); 3465 RC_TRACE_NO_CR(0x00004000, ("%4d (%5d) ", j, m->vtable_index()));
|
/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
|