131 int CompilerToVM::Data::sizeof_ZStoreBarrierEntry = sizeof(ZStoreBarrierEntry);
132 #endif
133
134 address CompilerToVM::Data::dsin;
135 address CompilerToVM::Data::dcos;
136 address CompilerToVM::Data::dtan;
137 address CompilerToVM::Data::dtanh;
138 address CompilerToVM::Data::dexp;
139 address CompilerToVM::Data::dlog;
140 address CompilerToVM::Data::dlog10;
141 address CompilerToVM::Data::dpow;
142
143 address CompilerToVM::Data::symbol_init;
144 address CompilerToVM::Data::symbol_clinit;
145
146 int CompilerToVM::Data::data_section_item_alignment;
147
148 JVMTI_ONLY( int* CompilerToVM::Data::_should_notify_object_alloc; )
149
150 void CompilerToVM::Data::initialize(JVMCI_TRAPS) {
151 oopDesc_klass_offset_in_bytes = oopDesc::klass_offset_in_bytes();
152 arrayOopDesc_length_offset_in_bytes = arrayOopDesc::length_offset_in_bytes();
153
154 Klass_vtable_start_offset = in_bytes(Klass::vtable_start_offset());
155 Klass_vtable_length_offset = in_bytes(Klass::vtable_length_offset());
156
157 Method_extra_stack_entries = Method::extra_stack_entries();
158
159 SharedRuntime_ic_miss_stub = SharedRuntime::get_ic_miss_stub();
160 SharedRuntime_handle_wrong_method_stub = SharedRuntime::get_handle_wrong_method_stub();
161 SharedRuntime_deopt_blob_unpack = SharedRuntime::deopt_blob()->unpack();
162 SharedRuntime_deopt_blob_unpack_with_exception_in_tls = SharedRuntime::deopt_blob()->unpack_with_exception_in_tls();
163 SharedRuntime_deopt_blob_uncommon_trap = SharedRuntime::deopt_blob()->uncommon_trap();
164 SharedRuntime_polling_page_return_handler = SharedRuntime::polling_page_return_handler_blob()->entry_point();
165 SharedRuntime_throw_delayed_StackOverflowError_entry = SharedRuntime::throw_delayed_StackOverflowError_entry();
166
167 BarrierSetNMethod* bs_nm = BarrierSet::barrier_set()->barrier_set_nmethod();
168 if (bs_nm != nullptr) {
169 thread_disarmed_guard_value_offset = in_bytes(bs_nm->thread_disarmed_guard_value_offset());
170 nmethod_entry_barrier = StubRoutines::method_entry_barrier();
171 BarrierSetAssembler* bs_asm = BarrierSet::barrier_set()->barrier_set_assembler();
|
131 int CompilerToVM::Data::sizeof_ZStoreBarrierEntry = sizeof(ZStoreBarrierEntry);
132 #endif
133
134 address CompilerToVM::Data::dsin;
135 address CompilerToVM::Data::dcos;
136 address CompilerToVM::Data::dtan;
137 address CompilerToVM::Data::dtanh;
138 address CompilerToVM::Data::dexp;
139 address CompilerToVM::Data::dlog;
140 address CompilerToVM::Data::dlog10;
141 address CompilerToVM::Data::dpow;
142
143 address CompilerToVM::Data::symbol_init;
144 address CompilerToVM::Data::symbol_clinit;
145
146 int CompilerToVM::Data::data_section_item_alignment;
147
148 JVMTI_ONLY( int* CompilerToVM::Data::_should_notify_object_alloc; )
149
150 void CompilerToVM::Data::initialize(JVMCI_TRAPS) {
151 oopDesc_klass_offset_in_bytes = 1; //oopDesc::klass_offset_in_bytes();
152 arrayOopDesc_length_offset_in_bytes = arrayOopDesc::length_offset_in_bytes();
153
154 Klass_vtable_start_offset = in_bytes(Klass::vtable_start_offset());
155 Klass_vtable_length_offset = in_bytes(Klass::vtable_length_offset());
156
157 Method_extra_stack_entries = Method::extra_stack_entries();
158
159 SharedRuntime_ic_miss_stub = SharedRuntime::get_ic_miss_stub();
160 SharedRuntime_handle_wrong_method_stub = SharedRuntime::get_handle_wrong_method_stub();
161 SharedRuntime_deopt_blob_unpack = SharedRuntime::deopt_blob()->unpack();
162 SharedRuntime_deopt_blob_unpack_with_exception_in_tls = SharedRuntime::deopt_blob()->unpack_with_exception_in_tls();
163 SharedRuntime_deopt_blob_uncommon_trap = SharedRuntime::deopt_blob()->uncommon_trap();
164 SharedRuntime_polling_page_return_handler = SharedRuntime::polling_page_return_handler_blob()->entry_point();
165 SharedRuntime_throw_delayed_StackOverflowError_entry = SharedRuntime::throw_delayed_StackOverflowError_entry();
166
167 BarrierSetNMethod* bs_nm = BarrierSet::barrier_set()->barrier_set_nmethod();
168 if (bs_nm != nullptr) {
169 thread_disarmed_guard_value_offset = in_bytes(bs_nm->thread_disarmed_guard_value_offset());
170 nmethod_entry_barrier = StubRoutines::method_entry_barrier();
171 BarrierSetAssembler* bs_asm = BarrierSet::barrier_set()->barrier_set_assembler();
|