142 #endif
143
144 address CompilerToVM::Data::dsin;
145 address CompilerToVM::Data::dcos;
146 address CompilerToVM::Data::dtan;
147 address CompilerToVM::Data::dtanh;
148 address CompilerToVM::Data::dcbrt;
149 address CompilerToVM::Data::dexp;
150 address CompilerToVM::Data::dlog;
151 address CompilerToVM::Data::dlog10;
152 address CompilerToVM::Data::dpow;
153
154 address CompilerToVM::Data::symbol_init;
155 address CompilerToVM::Data::symbol_clinit;
156
157 int CompilerToVM::Data::data_section_item_alignment;
158
159 JVMTI_ONLY( int* CompilerToVM::Data::_should_notify_object_alloc; )
160
161 void CompilerToVM::Data::initialize(JVMCI_TRAPS) {
162 oopDesc_klass_offset_in_bytes = oopDesc::klass_offset_in_bytes();
163 arrayOopDesc_length_offset_in_bytes = arrayOopDesc::length_offset_in_bytes();
164
165 Klass_vtable_start_offset = in_bytes(Klass::vtable_start_offset());
166 Klass_vtable_length_offset = in_bytes(Klass::vtable_length_offset());
167
168 Method_extra_stack_entries = Method::extra_stack_entries();
169
170 SharedRuntime_ic_miss_stub = SharedRuntime::get_ic_miss_stub();
171 SharedRuntime_handle_wrong_method_stub = SharedRuntime::get_handle_wrong_method_stub();
172 SharedRuntime_deopt_blob_unpack = SharedRuntime::deopt_blob()->unpack();
173 SharedRuntime_deopt_blob_unpack_with_exception_in_tls = SharedRuntime::deopt_blob()->unpack_with_exception_in_tls();
174 SharedRuntime_deopt_blob_uncommon_trap = SharedRuntime::deopt_blob()->uncommon_trap();
175 SharedRuntime_polling_page_return_handler = SharedRuntime::polling_page_return_handler_blob()->entry_point();
176 SharedRuntime_throw_delayed_StackOverflowError_entry = SharedRuntime::throw_delayed_StackOverflowError_entry();
177
178 BarrierSetNMethod* bs_nm = BarrierSet::barrier_set()->barrier_set_nmethod();
179 thread_disarmed_guard_value_offset = in_bytes(bs_nm->thread_disarmed_guard_value_offset());
180 nmethod_entry_barrier = StubRoutines::method_entry_barrier();
181 BarrierSetAssembler* bs_asm = BarrierSet::barrier_set()->barrier_set_assembler();
182 AARCH64_ONLY(BarrierSetAssembler_nmethod_patching_type = (int) bs_asm->nmethod_patching_type());
|
142 #endif
143
144 address CompilerToVM::Data::dsin;
145 address CompilerToVM::Data::dcos;
146 address CompilerToVM::Data::dtan;
147 address CompilerToVM::Data::dtanh;
148 address CompilerToVM::Data::dcbrt;
149 address CompilerToVM::Data::dexp;
150 address CompilerToVM::Data::dlog;
151 address CompilerToVM::Data::dlog10;
152 address CompilerToVM::Data::dpow;
153
154 address CompilerToVM::Data::symbol_init;
155 address CompilerToVM::Data::symbol_clinit;
156
157 int CompilerToVM::Data::data_section_item_alignment;
158
159 JVMTI_ONLY( int* CompilerToVM::Data::_should_notify_object_alloc; )
160
161 void CompilerToVM::Data::initialize(JVMCI_TRAPS) {
162 oopDesc_klass_offset_in_bytes = 1; //oopDesc::klass_offset_in_bytes();
163 arrayOopDesc_length_offset_in_bytes = arrayOopDesc::length_offset_in_bytes();
164
165 Klass_vtable_start_offset = in_bytes(Klass::vtable_start_offset());
166 Klass_vtable_length_offset = in_bytes(Klass::vtable_length_offset());
167
168 Method_extra_stack_entries = Method::extra_stack_entries();
169
170 SharedRuntime_ic_miss_stub = SharedRuntime::get_ic_miss_stub();
171 SharedRuntime_handle_wrong_method_stub = SharedRuntime::get_handle_wrong_method_stub();
172 SharedRuntime_deopt_blob_unpack = SharedRuntime::deopt_blob()->unpack();
173 SharedRuntime_deopt_blob_unpack_with_exception_in_tls = SharedRuntime::deopt_blob()->unpack_with_exception_in_tls();
174 SharedRuntime_deopt_blob_uncommon_trap = SharedRuntime::deopt_blob()->uncommon_trap();
175 SharedRuntime_polling_page_return_handler = SharedRuntime::polling_page_return_handler_blob()->entry_point();
176 SharedRuntime_throw_delayed_StackOverflowError_entry = SharedRuntime::throw_delayed_StackOverflowError_entry();
177
178 BarrierSetNMethod* bs_nm = BarrierSet::barrier_set()->barrier_set_nmethod();
179 thread_disarmed_guard_value_offset = in_bytes(bs_nm->thread_disarmed_guard_value_offset());
180 nmethod_entry_barrier = StubRoutines::method_entry_barrier();
181 BarrierSetAssembler* bs_asm = BarrierSet::barrier_set()->barrier_set_assembler();
182 AARCH64_ONLY(BarrierSetAssembler_nmethod_patching_type = (int) bs_asm->nmethod_patching_type());
|