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