Searched refs:relocInfo (Results 1 - 25 of 49) sorted by relevance

12

/openjdk7/hotspot/src/share/vm/code/
H A DrelocInfo.hpp32 // relocInfo
34 // Also, the source of relocation types (relocInfo::oop_type, ...).
53 // code and relocInfo streams.
70 // A relocInfo is represented in 16 bits:
72 // 12 bits indicating the offset from the previous relocInfo address
74 // The offsets accumulate along the relocInfo stream to encode the
76 // The address of a particular relocInfo always points to the first
114 // relocInfo::none -- a filler record
118 // (This means that any relocInfo can be disabled by setting
119 // its type to none. See relocInfo
280 relocInfo(relocType type, RawBitsToken ignore, int bits) function in class:VALUE_OBJ_CLASS_SPEC
283 relocInfo(relocType type, RawBitsToken ignore, int off, int f) function in class:VALUE_OBJ_CLASS_SPEC
288 relocInfo(relocType type, int offset, int format = 0) function in class:VALUE_OBJ_CLASS_SPEC
[all...]
H A DrelocInfo.cpp28 #include "code/relocInfo.hpp"
54 const RelocationHolder RelocationHolder::none; // its type is relocInfo::none
57 // Implementation of relocInfo
60 relocInfo::relocInfo(relocType t, int off, int f) { function in class:relocInfo
66 (*this) = relocInfo(t, RAW_BITS, off, f);
70 void relocInfo::initialize(CodeSection* dest, Relocation* reloc) {
71 relocInfo* data = this+1; // here's where the data might go
74 relocInfo* data_limit = dest->locs_end();
76 relocInfo suffi
[all...]
H A DcodeBlob.hpp117 relocInfo* relocation_begin() const { return (relocInfo*) header_end(); };
118 relocInfo* relocation_end() const { return (relocInfo*)(header_end() + _relocation_size); }
142 bool relocation_contains(relocInfo* addr) const{ return relocation_begin() <= addr && addr < relocation_end(); }
H A Dnmethod.cpp1030 if (iter.type() == relocInfo::poll_return_type)
1040 relocInfo::relocType t = iter.type();
1041 if (t == relocInfo::poll_return_type || t == relocInfo::poll_type)
1052 if (iter.type() == relocInfo::oop_type) {
1063 assert(!(iter.type() == relocInfo::breakpoint_type
1074 if (iter.type() == relocInfo::oop_type) {
1128 case relocInfo::virtual_call_type:
1129 case relocInfo::opt_virtual_call_type: {
1140 case relocInfo
[all...]
H A DcompiledIC.cpp68 if (iter.type() == relocInfo::oop_type) {
476 assert(ic_reloc->type() == relocInfo::virtual_call_type ||
477 ic_reloc->type() == relocInfo::opt_virtual_call_type, "wrong reloc. info");
603 case relocInfo::static_call_type:
607 case relocInfo::opt_virtual_call_type:
609 case relocInfo::poll_type:
610 case relocInfo::poll_return_type: // A safepoint can't overlap a call.
/openjdk7/hotspot/src/share/vm/asm/
H A DcodeBuffer.cpp109 _insts.initialize_locs(locs_size / sizeof(relocInfo));
175 relocInfo* old_locs_limit = cs->locs_limit();
176 relocInfo* new_locs_limit = cs->locs_end();
298 relocInfo::relocType rtype = (relocInfo::relocType) reloc->type();
299 if (rtype == relocInfo::none) return;
312 assert(rtype == relocInfo::none ||
313 rtype == relocInfo::runtime_call_type ||
314 rtype == relocInfo::internal_word_type||
315 rtype == relocInfo
[all...]
H A DcodeBuffer.hpp30 #include "code/relocInfo.hpp"
90 relocInfo* _locs_start; // first byte of relocation information
91 relocInfo* _locs_end; // first byte after relocation information
92 relocInfo* _locs_limit; // first byte after relocation information buf
155 relocInfo* locs_start() const { return _locs_start; }
156 relocInfo* locs_end() const { return _locs_end; }
158 relocInfo* locs_limit() const { return _locs_limit; }
186 void set_locs_end(relocInfo* p) {
203 void initialize_shared_locs(relocInfo* buf, int length);
210 void relocate(address at, relocInfo
[all...]
H A Dassembler.hpp29 #include "code/relocInfo.hpp"
207 OopRecorder* _oop_recorder; // support for relocInfo::oop_type
328 void relocate( relocInfo::relocType rtype, int format = 0) {
329 if (rtype != relocInfo::none)
/openjdk7/hotspot/src/cpu/sparc/vm/
H A Dc1_CodeStubs_sparc.cpp59 __ call(Runtime1::entry_for(Runtime1::throw_index_exception_id), relocInfo::runtime_call_type);
61 __ call(Runtime1::entry_for(Runtime1::throw_range_check_failed_id), relocInfo::runtime_call_type);
75 __ call(Runtime1::entry_for(Runtime1::counter_overflow_id), relocInfo::runtime_call_type);
90 __ call(Runtime1::entry_for(Runtime1::throw_div0_exception_id), relocInfo::runtime_call_type);
104 relocInfo::runtime_call_type);
118 __ call(Runtime1::entry_for(_stub), relocInfo::runtime_call_type);
149 __ call(Runtime1::entry_for(_stub_id), relocInfo::runtime_call_type);
171 __ call(Runtime1::entry_for(Runtime1::new_type_array_id), relocInfo::runtime_call_type);
194 __ call(Runtime1::entry_for(Runtime1::new_object_array_id), relocInfo::runtime_call_type);
214 __ call(Runtime1::entry_for(Runtime1::monitorenter_id), relocInfo
[all...]
H A DicBuffer_sparc.cpp57 AddressLiteral cached_oop_addrlit(cached_oop, relocInfo::none);
H A Dassembler_sparc.hpp321 const relocInfo::relocType rtype() { return _rspec.type(); }
365 RelocationHolder rspec_from_rtype(relocInfo::relocType rtype, address addr) {
367 case relocInfo::external_word_type:
369 case relocInfo::internal_word_type:
372 case relocInfo::opt_virtual_call_type:
374 case relocInfo::static_call_type:
376 case relocInfo::runtime_call_type:
379 case relocInfo::none:
405 AddressLiteral(address addr, relocInfo::relocType rtype = relocInfo argument
410 AddressLiteral(address* addr, relocInfo::relocType rtype = relocInfo::none) argument
414 AddressLiteral(bool* addr, relocInfo::relocType rtype = relocInfo::none) argument
418 AddressLiteral(const bool* addr, relocInfo::relocType rtype = relocInfo::none) argument
422 AddressLiteral(signed char* addr, relocInfo::relocType rtype = relocInfo::none) argument
426 AddressLiteral(int* addr, relocInfo::relocType rtype = relocInfo::none) argument
430 AddressLiteral(intptr_t addr, relocInfo::relocType rtype = relocInfo::none) argument
436 AddressLiteral(intptr_t* addr, relocInfo::relocType rtype = relocInfo::none) argument
441 AddressLiteral(oop addr, relocInfo::relocType rtype = relocInfo::none) argument
445 AddressLiteral(oop* addr, relocInfo::relocType rtype = relocInfo::none) argument
449 AddressLiteral(float* addr, relocInfo::relocType rtype = relocInfo::none) argument
453 AddressLiteral(double* addr, relocInfo::relocType rtype = relocInfo::none) argument
[all...]
H A Druntime_sparc.cpp112 __ call(CAST_FROM_FN_PTR(address, OptoRuntime::handle_exception_C), relocInfo::runtime_call_type);
H A Dvm_version_sparc.cpp223 assert((InteriorEntryAlignment % relocInfo::addr_unit()) == 0, "alignment is not a multiple of NOP size");
226 assert((CodeEntryAlignment % relocInfo::addr_unit()) == 0, "alignment is not a multiple of NOP size");
227 assert((OptoLoopAlignment % relocInfo::addr_unit()) == 0, "alignment is not a multiple of NOP size");
H A DjniFastGetField_sparc.cpp105 __ call (slow_case_addr, relocInfo::none);
192 __ call (slow_case_addr, relocInfo::none);
251 __ call (slow_case_addr, relocInfo::none);
H A Dassembler_sparc.inline.hpp68 inline void Assembler::emit_data(int x, relocInfo::relocType rtype) {
80 inline void Assembler::add(Register s1, int simm13a, Register d, relocInfo::relocType rtype ) { emit_data( op(arith_op) | rd(d) | op3(add_op3) | rs1(s1) | immed(true) | simm(simm13a, 13), rtype ); }
83 inline void Assembler::bpr( RCondition c, bool a, Predict p, Register s1, address d, relocInfo::relocType rt ) { v9_only(); cti(); emit_data( op(branch_op) | annul(a) | cond(c) | op2(bpr_op2) | wdisp16(intptr_t(d), intptr_t(pc())) | predict(p) | rs1(s1), rt); has_delay_slot(); }
86 inline void Assembler::fb( Condition c, bool a, address d, relocInfo::relocType rt ) { v9_dep(); cti(); emit_data( op(branch_op) | annul(a) | cond(c) | op2(fb_op2) | wdisp(intptr_t(d), intptr_t(pc()), 22), rt); has_delay_slot(); }
89 inline void Assembler::fbp( Condition c, bool a, CC cc, Predict p, address d, relocInfo::relocType rt ) { v9_only(); cti(); emit_data( op(branch_op) | annul(a) | cond(c) | op2(fbp_op2) | branchcc(cc) | predict(p) | wdisp(intptr_t(d), intptr_t(pc()), 19), rt); has_delay_slot(); }
92 inline void Assembler::cb( Condition c, bool a, address d, relocInfo::relocType rt ) { v8_only(); cti(); emit_data( op(branch_op) | annul(a) | cond(c) | op2(cb_op2) | wdisp(intptr_t(d), intptr_t(pc()), 22), rt); has_delay_slot(); }
95 inline void Assembler::br( Condition c, bool a, address d, relocInfo::relocType rt ) { v9_dep(); cti(); emit_data( op(branch_op) | annul(a) | cond(c) | op2(br_op2) | wdisp(intptr_t(d), intptr_t(pc()), 22), rt); has_delay_slot(); }
98 inline void Assembler::bp( Condition c, bool a, CC cc, Predict p, address d, relocInfo::relocType rt ) { v9_only(); cti(); emit_data( op(branch_op) | annul(a) | cond(c) | op2(bp_op2) | branchcc(cc) | predict(p) | wdisp(intptr_t(d), intptr_t(pc()), 19), rt); has_delay_slot(); }
105 inline void Assembler::call( address d, relocInfo::relocType rt ) { cti(); emit_data( op(call_op) | wdisp(intptr_t(d), intptr_t(pc()), 30), rt); has_delay_slot(); assert(rt != relocInfo
[all...]
H A DnativeInst_sparc.cpp220 a->call( a->pc(), relocInfo::none );
356 if (iter.type() == relocInfo::oop_type) {
390 AddressLiteral al1(0xaaaabbbb, relocInfo::external_word_type);
393 AddressLiteral al2(0xccccdddd, relocInfo::external_word_type);
466 if (iter.type() == relocInfo::oop_type) {
500 AddressLiteral al1(0xaaaabbbb, relocInfo::external_word_type);
504 AddressLiteral al2(0xccccdddd, relocInfo::external_word_type);
596 AddressLiteral al1(0xffffffff, relocInfo::external_word_type);
597 AddressLiteral al2(0xaaaabbbb, relocInfo::external_word_type);
741 AddressLiteral al(0xffffffff, relocInfo
[all...]
H A Dinterpreter_sparc.cpp106 __ call(CAST_FROM_FN_PTR(address, InterpreterRuntime::slow_signature_handler), relocInfo::runtime_call_type);
156 __ call(CAST_FROM_FN_PTR(address, InterpreterRuntime::slow_signature_handler), relocInfo::runtime_call_type);
H A Dassembler_sparc.cpp59 rspec = Relocation::spec_simple(relocInfo::oop_type);
224 bpr( rc_z, true, pn, L4, pc(), relocInfo::oop_type );
229 fb( f_never, true, pc() + 4, relocInfo::none);
234 fbp( f_notZero, true, fcc0, pn, pc() - 4, relocInfo::none);
239 br( equal, true, pc() + 1024, relocInfo::none);
246 bp( less, true, icc, pn, pc(), relocInfo::none);
251 call( pc(), relocInfo::none);
308 jmpl( L6, -1, L7, Relocation::spec_simple(relocInfo::none));
439 rett( G0, -1, relocInfo::none);
450 sethi( 0xaaaaaaaa, I3, Relocation::spec_simple(relocInfo
[all...]
H A Dc1_MacroAssembler_sparc.cpp299 relocInfo::runtime_call_type);
368 relocInfo::runtime_call_type);
/openjdk7/hotspot/src/os_cpu/windows_x86/vm/
H A Dassembler_windows_x86.cpp57 AddressLiteral null(0, relocInfo::none);
/openjdk7/hotspot/src/os_cpu/solaris_x86/vm/
H A Dassembler_solaris_x86.cpp121 AddressLiteral null(0, relocInfo::none);
129 AddressLiteral tls_off((address)ThreadLocalStorage::pd_getTlsOffset(), relocInfo::none);
/openjdk7/hotspot/src/share/vm/c1/
H A Dc1_Compilation.cpp274 int locs_buffer_size = 20 * (relocInfo::length_limit + sizeof(relocInfo));
276 code->insts()->initialize_shared_locs((relocInfo*)locs_buffer,
277 locs_buffer_size / sizeof(relocInfo));
H A Dc1_Runtime1.cpp1019 if (oops.type() == relocInfo::oop_type) {
1044 if (oops.type() == relocInfo::oop_type) {
1067 // update relocInfo to oop
1075 relocInfo::change_reloc_info_for_address(&iter, (address) instr_pc,
1076 relocInfo::none, relocInfo::oop_type);
1081 relocInfo::change_reloc_info_for_address(&iter2, (address) instr_pc2,
1082 relocInfo::none, relocInfo::oop_type);
1087 relocInfo
[all...]
/openjdk7/hotspot/src/cpu/x86/vm/
H A Dc1_CodeStubs_x86.cpp383 relocInfo::change_reloc_info_for_address(&iter, (address) _pc_start, relocInfo::oop_type, relocInfo::none);
454 relocInfo::static_call_type);
/openjdk7/hotspot/src/share/vm/runtime/
H A DsharedRuntime.cpp1581 if (iter.type() == relocInfo::static_call_type) {
1584 assert(iter.type() == relocInfo::virtual_call_type ||
1585 iter.type() == relocInfo::opt_virtual_call_type
1586 , "unexpected relocInfo. type");
1723 relocInfo::relocType typ = iter.reloc()->type();
1724 if ( typ != relocInfo::static_call_type &&
1725 typ != relocInfo::opt_virtual_call_type &&
1726 typ != relocInfo::static_stub_type) {
2425 buffer.insts()->initialize_shared_locs((relocInfo*)buffer_locs,
2426 sizeof(buffer_locs)/sizeof(relocInfo));
[all...]

Completed in 106 milliseconds

12