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