| /openjdk7/hotspot/src/share/vm/utilities/ |
| H A D | sizes.hpp | 75 inline friend int in_bytes(ByteSize x); 78 friend ByteSize operator + (ByteSize x, ByteSize y) { return ByteSize(in_bytes(x) + in_bytes(y)); } 79 friend ByteSize operator - (ByteSize x, ByteSize y) { return ByteSize(in_bytes(x) - in_bytes(y)); } 80 friend ByteSize operator * (ByteSize x, int y) { return ByteSize(in_bytes(x) * y ); } 83 friend bool operator == (ByteSize x, ByteSize y) { return in_bytes(x) == in_bytes(y); } 84 friend bool operator != (ByteSize x, ByteSize y) { return in_bytes(x) != in_bytes( 92 inline int in_bytes(ByteSize x) { return x._size; } function 139 inline int in_bytes (ByteSize x) { return x; } function [all...] |
| /openjdk7/hotspot/src/share/vm/ci/ |
| H A D | ciCPCache.cpp | 41 return in_bytes(f1_offset);
|
| H A D | ciMethodData.cpp | 348 int offset = in_bytes(data_offset) + cell_offset + in_bytes(slot_offset_in_data);
|
| /openjdk7/hotspot/src/cpu/x86/vm/ |
| H A D | interp_masm_x86_32.cpp | 275 addptr(cache, in_bytes(constantPoolCacheOopDesc::base_offset())); 522 in_bytes(JavaThread::do_not_unlock_if_synchronized_offset())); 823 movptr(rax, Address(rbx, in_bytes(methodOopDesc::method_data_offset()))); 831 movptr(rbx, Address(rbx, in_bytes(methodOopDesc::method_data_offset()))); 832 addptr(rbx, in_bytes(methodDataOopDesc::data_offset())); 853 load_unsigned_short(rdx, Address(rcx, in_bytes(DataLayout::bci_offset()))); 928 int header_offset = in_bytes(DataLayout::header_offset()); 994 //increment_mdp_data_at(mdp, in_bytes(JumpData::taken_offset())); 995 Address data(mdp, in_bytes(JumpData::taken_offset())); 1005 update_mdp_by_offset(mdp, in_bytes(JumpDat [all...] |
| H A D | interp_masm_x86_64.cpp | 280 addptr(cache, in_bytes(constantPoolCacheOopDesc::base_offset())); 523 in_bytes(JavaThread::do_not_unlock_if_synchronized_offset())); 837 movptr(rax, Address(rbx, in_bytes(methodOopDesc::method_data_offset()))); 845 movptr(rbx, Address(rbx, in_bytes(methodOopDesc::method_data_offset()))); 846 addptr(rbx, in_bytes(methodDataOopDesc::data_offset())); 868 Address(c_rarg3, in_bytes(DataLayout::bci_offset()))); 942 int header_offset = in_bytes(DataLayout::header_offset()); 1015 //increment_mdp_data_at(mdp, in_bytes(JumpData::taken_offset())); 1016 Address data(mdp, in_bytes(JumpData::taken_offset())); 1025 update_mdp_by_offset(mdp, in_bytes(JumpDat [all...] |
| H A D | vm_version_x86.cpp | 112 __ movl(Address(rbp, in_bytes(VM_Version::std_cpuid1_offset())), rax); 131 __ movl(Address(rbp, in_bytes(VM_Version::std_cpuid1_offset())), rax); 144 __ lea(rsi, Address(rbp, in_bytes(VM_Version::std_cpuid0_offset()))); 160 __ lea(rsi, Address(rbp, in_bytes(VM_Version::tpl_cpuidB0_offset()))); 176 __ lea(rsi, Address(rbp, in_bytes(VM_Version::tpl_cpuidB1_offset()))); 192 __ lea(rsi, Address(rbp, in_bytes(VM_Version::tpl_cpuidB2_offset()))); 203 __ cmpl(rax, Address(rbp, in_bytes(VM_Version::std_cpuid0_offset()))); // Is cpuid(0x4) supported? 214 __ lea(rsi, Address(rbp, in_bytes(VM_Version::dcp_cpuid4_offset()))); 226 __ lea(rsi, Address(rbp, in_bytes(VM_Version::std_cpuid1_offset()))); 245 __ lea(rsi, Address(rbp, in_bytes(VM_Versio [all...] |
| H A D | templateInterpreter_x86_64.cpp | 188 in_bytes(constantPoolCacheOopDesc::base_offset()) + 302 const Address invocation_counter(rbx, in_bytes(methodOopDesc::invocation_counter_offset()) + 303 in_bytes(InvocationCounter::counter_offset())); 315 const Address mdo_invocation_counter(rax, in_bytes(methodDataOopDesc::invocation_counter_offset()) + 316 in_bytes(InvocationCounter::counter_offset())); 518 const int mirror_offset = in_bytes(Klass::java_mirror_offset()); 573 __ movptr(rdx, Address(rbx, in_bytes(methodOopDesc::method_data_offset()))); 576 __ addptr(rdx, in_bytes(methodDataOopDesc::data_offset())); 911 in_bytes(JavaThread::do_not_unlock_if_synchronized_offset())); 1020 const int mirror_offset = in_bytes(Klas [all...] |
| H A D | templateInterpreter_x86_32.cpp | 346 const Address invocation_counter(rbx, in_bytes(methodOopDesc::invocation_counter_offset()) + 347 in_bytes(InvocationCounter::counter_offset())); 359 const Address mdo_invocation_counter(rax, in_bytes(methodDataOopDesc::invocation_counter_offset()) + 360 in_bytes(InvocationCounter::counter_offset())); 564 const int mirror_offset = in_bytes(Klass::java_mirror_offset()); 600 __ movptr(rdx, Address(rbx, in_bytes(methodOopDesc::method_data_offset()))); 603 __ addptr(rdx, in_bytes(methodDataOopDesc::data_offset())); 931 in_bytes(JavaThread::do_not_unlock_if_synchronized_offset())); 1026 const int mirror_offset = in_bytes(Klass::java_mirror_offset()); 1359 in_bytes(JavaThrea [all...] |
| H A D | templateTable_x86_32.cpp | 1598 __ lea(rax, at_bcp((is_wide ? 5 : 3) - in_bytes(constMethodOopDesc::codes_offset()))); 1635 __ movptr(rbx, Address(rcx, in_bytes(methodOopDesc::method_data_offset()))); 1639 const Address mdo_backedge_counter(rbx, in_bytes(methodDataOopDesc::backedge_counter_offset()) + 1640 in_bytes(InvocationCounter::counter_offset())); 2150 in_bytes(cp_base_offset + ConstantPoolCacheEntry::f2_offset()))); 2153 in_bytes(cp_base_offset + ConstantPoolCacheEntry::flags_offset()))); 2158 in_bytes(cp_base_offset + ConstantPoolCacheEntry::f1_offset()))); 2178 const int method_offset = in_bytes( 2183 const int flags_offset = in_bytes(constantPoolCacheOopDesc::base_offset() + 2186 const int index_offset = in_bytes(constantPoolCacheOopDes [all...] |
| H A D | templateTable_x86_64.cpp | 1628 in_bytes(constMethodOopDesc::codes_offset()))); 1664 __ movptr(rbx, Address(rcx, in_bytes(methodOopDesc::method_data_offset()))); 1668 const Address mdo_backedge_counter(rbx, in_bytes(methodDataOopDesc::backedge_counter_offset()) + 1669 in_bytes(InvocationCounter::counter_offset())); 2204 in_bytes(cp_base_offset + 2208 in_bytes(cp_base_offset + 2214 in_bytes(cp_base_offset + 2235 const int method_offset = in_bytes( 2240 const int flags_offset = in_bytes(constantPoolCacheOopDesc::base_offset() + 2243 const int index_offset = in_bytes(constantPoolCacheOopDes [all...] |
| /openjdk7/hotspot/src/share/vm/opto/ |
| H A D | generateOptoStub.cpp | 89 in_bytes(JavaThread::frame_anchor_offset()) + 90 in_bytes(JavaFrameAnchor::last_Java_pc_offset())); 94 in_bytes(JavaThread::frame_anchor_offset()) + 95 in_bytes(JavaFrameAnchor::flags_offset())); 104 Node *adr_sp = basic_plus_adr(top(), thread, in_bytes(JavaThread::last_Java_sp_offset())); 114 Node* adr_state = basic_plus_adr(top(), thread, in_bytes(JavaThread::thread_state_offset())); 227 Node* adr_last_Java_fp = basic_plus_adr(top(), thread, in_bytes(JavaThread::last_Java_fp_offset())); 236 Node* adr = basic_plus_adr(top(), thread, in_bytes(JavaThread::vm_result_offset())); 245 Node* adr = basic_plus_adr(top(), thread, in_bytes(Thread::pending_exception_offset()));
|
| H A D | parseHelper.cpp | 203 int element_klass_offset = in_bytes(objArrayKlass::element_klass_offset()); 223 Node* init_thread_offset = _gvn.MakeConX(in_bytes(instanceKlass::init_thread_offset())); 231 Node* init_state_offset = _gvn.MakeConX(in_bytes(instanceKlass::init_state_offset())); 364 int offset = in_bytes(data_offset) + cell_offset + in_bytes(counter_offset);
|
| /openjdk7/hotspot/src/cpu/sparc/vm/ |
| H A D | cppInterpreter_sparc.cpp | 67 #define STATE(field_name) Lstate, in_bytes(byte_offset_of(BytecodeInterpreter, field_name)) 410 Address interpreter_invocation_counter(G3_scratch, 0, in_bytes(methodOopDesc::interpreter_invocation_counter_offset())); 484 __ ld_ptr(Address(G5_method, 0, in_bytes(methodOopDesc::const_offset())), G1_scratch); 485 __ ld(Address(G1_scratch, 0, in_bytes(constMethodOopDesc::codes_offset())), G1_scratch); 493 __ ld_ptr(G5_method, in_bytes(methodOopDesc::const_offset()), G3_scratch); 494 __ ld_ptr(G3_scratch, in_bytes(constMethodOopDesc::constants_offset()), G3_scratch); 503 __ ld_ptr(G3_scratch, in_bytes(cp_base_offset + ConstantPoolCacheEntry::indices_offset()), G1_scratch); 511 __ ld_ptr(G3_scratch, in_bytes(cp_base_offset + ConstantPoolCacheEntry::flags_offset()), G1_scratch); 512 __ ld_ptr(G3_scratch, in_bytes(cp_base_offset + ConstantPoolCacheEntry::f2_offset()), G3_scratch); 587 const Address size_of_parameters(G5_method, 0, in_bytes(methodOopDes [all...] |
| H A D | interp_masm_sparc.cpp | 61 #define STATE(field_name) Lstate, in_bytes(byte_offset_of(BytecodeInterpreter, field_name)) 527 lduh(Lmethod, in_bytes(methodOopDesc::max_stack_offset()), Gframe_size); // Load max stack. 613 ld_ptr(G5_method, in_bytes(methodOopDesc::from_interpreted_offset()), target); 625 delayed()->ld_ptr(G5_method, in_bytes(methodOopDesc::interpreter_entry_offset()), target); 793 add(tmp, in_bytes(constantPoolCacheOopDesc::base_offset()), tmp); 942 ld_ptr(Lmethod, in_bytes(methodOopDesc::const_offset()), Rdst); 948 ld_ptr(Rdst, in_bytes(constMethodOopDesc::constants_offset()), Rdst); 1305 ld_ptr(Lmethod, in_bytes(methodOopDesc::method_data_offset()), ImethodDataPtr); 1307 add(ImethodDataPtr, in_bytes(methodDataOopDesc::data_offset()), ImethodDataPtr); 1318 ld_ptr(Lmethod, in_bytes(methodOopDes [all...] |
| H A D | runtime_sparc.cpp | 144 assert(Assembler::is_simm13(in_bytes(JavaThread::exception_oop_offset())), "exception offset overflows simm13, following ld instruction cannot be in delay slot");
|
| H A D | c1_Runtime1_sparc.cpp | 401 __ ldub(G5_klass, in_bytes(instanceKlass::init_state_offset()), G3_t1); 408 __ ld(G5_klass, in_bytes(Klass::layout_helper_offset()), G1_obj_size); 428 __ ld(G5_klass, in_bytes(Klass::layout_helper_offset()), G1_obj_size); 440 __ ld(G5_klass, in_bytes(Klass::layout_helper_offset()), G1_obj_size); 594 __ ld(t, in_bytes(Klass::access_flags_offset()), t); 839 in_bytes(JavaThread::satb_mark_queue_offset() + 842 in_bytes(JavaThread::satb_mark_queue_offset() + 937 in_bytes(JavaThread::dirty_card_queue_offset() + 940 in_bytes(JavaThread::dirty_card_queue_offset() + 1011 __ ld_ptr(G2_thread, in_bytes(JavaThrea [all...] |
| H A D | assembler_sparc.cpp | 612 ld(G2_thread, in_bytes(JavaThread::jmp_ring_index_offset()), O0); 613 add(G2_thread, in_bytes(JavaThread::jmp_ring_offset()), O1); 634 st(O0, G2_thread, in_bytes(JavaThread::jmp_ring_index_offset())); 647 ld(G2_thread, in_bytes(JavaThread::jmp_ring_index_offset()), O0); 648 add(G2_thread, in_bytes(JavaThread::jmp_ring_offset()), O1); 669 st(O0, G2_thread, in_bytes(JavaThread::jmp_ring_index_offset())); 690 ld(G2_thread, in_bytes(JavaThread::jmp_ring_index_offset()), O0); 691 add(G2_thread, in_bytes(JavaThread::jmp_ring_offset()), O1); 712 st(O0, G2_thread, in_bytes(JavaThread::jmp_ring_index_offset())); 3092 int sc_offset = in_bytes(Klas [all...] |
| H A D | vtableStubs_sparc.cpp | 99 __ ld_ptr(G5_method, in_bytes(methodOopDesc::from_compiled_offset()), G3_scratch); 185 __ ld_ptr(G5_method, in_bytes(methodOopDesc::from_compiled_offset()), G3_scratch);
|
| H A D | templateInterpreter_sparc.cpp | 305 in_bytes(methodDataOopDesc::invocation_counter_offset()) + 306 in_bytes(InvocationCounter::counter_offset())); 316 in_bytes(methodOopDesc::invocation_counter_offset()) + 317 in_bytes(InvocationCounter::counter_offset())); 326 Address interpreter_invocation_counter(Lmethod,in_bytes(methodOopDesc::interpreter_invocation_counter_offset())); 355 __ ld(Lmethod, in_bytes(methodOopDesc::access_flags_offset()), O0); // Load access flags. 369 const int mirror_offset = in_bytes(Klass::java_mirror_offset()); 374 __ ld_ptr( Lmethod, in_bytes(methodOopDesc::const_offset()), O0); 375 __ ld_ptr( O0, in_bytes(constMethodOopDesc::constants_offset()), O0); 577 __ add(Lbcp, in_bytes(constMethodOopDes [all...] |
| H A D | c1_FrameMap_sparc.cpp | 339 return Address(SP, STACK_BIAS + in_bytes(sp_offset)); 361 int max_offset = in_bytes(framesize_in_bytes());
|
| H A D | c1_MacroAssembler_sparc.cpp | 184 ld_ptr(klass, in_bytes(Klass::prototype_header_offset()), t1); 255 ld(klass, in_bytes(Klass::layout_helper_offset()), t1);
|
| /openjdk7/hotspot/src/share/vm/c1/ |
| H A D | c1_FrameMap.cpp | 206 _framesize = round_to(in_bytes(sp_offset_for_monitor_base(0)) + 215 _argument_locations->at_put(java_index, in_bytes(framesize_in_bytes()) + 225 int offset_in_bytes = in_bytes(offset); 235 int offset = in_bytes(byte_offset_from_sp); 273 assert(in_bytes(offset) < framesize() * 4, "spill outside of frame"); 281 assert(in_bytes(offset) + 4 < framesize() * 4, "spill outside of frame");
|
| H A D | c1_Compilation.cpp | 360 assert(in_bytes(frame_map()->framesize_in_bytes()) % sizeof(intptr_t) == 0, "must be at least pointer aligned"); 365 in_bytes(_frame_map->sp_offset_for_orig_pc()), 367 in_bytes(frame_map()->framesize_in_bytes()) / sizeof(intptr_t),
|
| /openjdk7/hotspot/src/share/vm/oops/ |
| H A D | klass.hpp | 319 const juint secondary_offset = in_bytes(secondary_super_cache_offset()); 329 juint d = (super_check_offset() - in_bytes(primary_supers_offset())) / sizeof(klassOop); 484 const juint secondary_offset = in_bytes(secondary_super_cache_offset());
|
| /openjdk7/hotspot/src/share/vm/memory/ |
| H A D | threadLocalAllocBuffer.cpp | 317 in_bytes(start_offset()) - 318 in_bytes(Thread::tlab_start_offset()));
|