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