148 nonstatic_field(JavaThread, _satb_mark_queue, SATBMarkQueue) \
149 nonstatic_field(JavaThread, _dirty_card_queue, DirtyCardQueue) \
150 nonstatic_field(JavaThread, _pending_deoptimization, int) \
151 nonstatic_field(JavaThread, _pending_failed_speculation, oop) \
152 nonstatic_field(JavaThread, _pending_transfer_to_interpreter, bool) \
153 nonstatic_field(JavaThread, _jvmci_counters, jlong*) \
154 nonstatic_field(JavaThread, _reserved_stack_activation, address) \
155 \
156 static_field(java_lang_Class, _klass_offset, int) \
157 static_field(java_lang_Class, _array_klass_offset, int) \
158 \
159 nonstatic_field(JVMCIEnv, _task, CompileTask*) \
160 nonstatic_field(JVMCIEnv, _jvmti_can_hotswap_or_post_breakpoint, bool) \
161 \
162 nonstatic_field(Klass, _secondary_super_cache, Klass*) \
163 nonstatic_field(Klass, _secondary_supers, Array<Klass*>*) \
164 nonstatic_field(Klass, _super, Klass*) \
165 nonstatic_field(Klass, _super_check_offset, juint) \
166 nonstatic_field(Klass, _subklass, Klass*) \
167 nonstatic_field(Klass, _layout_helper, jint) \
168 nonstatic_field(Klass, _prototype_header, markOop) \
169 nonstatic_field(Klass, _next_sibling, Klass*) \
170 nonstatic_field(Klass, _java_mirror, oop) \
171 nonstatic_field(Klass, _modifier_flags, jint) \
172 nonstatic_field(Klass, _access_flags, AccessFlags) \
173 \
174 nonstatic_field(LocalVariableTableElement, start_bci, u2) \
175 nonstatic_field(LocalVariableTableElement, length, u2) \
176 nonstatic_field(LocalVariableTableElement, name_cp_index, u2) \
177 nonstatic_field(LocalVariableTableElement, descriptor_cp_index, u2) \
178 nonstatic_field(LocalVariableTableElement, signature_cp_index, u2) \
179 nonstatic_field(LocalVariableTableElement, slot, u2) \
180 \
181 nonstatic_field(Method, _constMethod, ConstMethod*) \
182 nonstatic_field(Method, _method_data, MethodData*) \
183 nonstatic_field(Method, _method_counters, MethodCounters*) \
184 nonstatic_field(Method, _access_flags, AccessFlags) \
185 nonstatic_field(Method, _vtable_index, int) \
186 nonstatic_field(Method, _intrinsic_id, u2) \
187 nonstatic_field(Method, _flags, u2) \
534 declare_function(os::dll_lookup) \
535 declare_function(os::javaTimeMillis) \
536 declare_function(os::javaTimeNanos) \
537 \
538 declare_function(Deoptimization::fetch_unroll_info) \
539 COMPILER2_PRESENT(declare_function(Deoptimization::uncommon_trap)) \
540 declare_function(Deoptimization::unpack_frames) \
541 \
542 declare_function(JVMCIRuntime::new_instance) \
543 declare_function(JVMCIRuntime::new_array) \
544 declare_function(JVMCIRuntime::new_multi_array) \
545 declare_function(JVMCIRuntime::dynamic_new_array) \
546 declare_function(JVMCIRuntime::dynamic_new_instance) \
547 \
548 declare_function(JVMCIRuntime::thread_is_interrupted) \
549 declare_function(JVMCIRuntime::vm_message) \
550 declare_function(JVMCIRuntime::identity_hash_code) \
551 declare_function(JVMCIRuntime::exception_handler_for_pc) \
552 declare_function(JVMCIRuntime::monitorenter) \
553 declare_function(JVMCIRuntime::monitorexit) \
554 declare_function(JVMCIRuntime::create_null_exception) \
555 declare_function(JVMCIRuntime::create_out_of_bounds_exception) \
556 declare_function(JVMCIRuntime::log_primitive) \
557 declare_function(JVMCIRuntime::log_object) \
558 declare_function(JVMCIRuntime::log_printf) \
559 declare_function(JVMCIRuntime::vm_error) \
560 declare_function(JVMCIRuntime::load_and_clear_exception) \
561 declare_function(JVMCIRuntime::write_barrier_pre) \
562 declare_function(JVMCIRuntime::write_barrier_post) \
563 declare_function(JVMCIRuntime::validate_object) \
564 \
565 declare_function(JVMCIRuntime::test_deoptimize_call_int)
566
567
568 #if INCLUDE_ALL_GCS
569
570 #define VM_STRUCTS_G1(nonstatic_field, static_field) \
571 static_field(HeapRegion, LogOfHRGrainBytes, int)
572
573 #define VM_INT_CONSTANTS_G1(declare_constant, declare_constant_with_value, declare_preprocessor_constant) \
574 declare_constant_with_value("G1SATBCardTableModRefBS::g1_young_gen", G1SATBCardTableModRefBS::g1_young_card_val())
575
|
148 nonstatic_field(JavaThread, _satb_mark_queue, SATBMarkQueue) \
149 nonstatic_field(JavaThread, _dirty_card_queue, DirtyCardQueue) \
150 nonstatic_field(JavaThread, _pending_deoptimization, int) \
151 nonstatic_field(JavaThread, _pending_failed_speculation, oop) \
152 nonstatic_field(JavaThread, _pending_transfer_to_interpreter, bool) \
153 nonstatic_field(JavaThread, _jvmci_counters, jlong*) \
154 nonstatic_field(JavaThread, _reserved_stack_activation, address) \
155 \
156 static_field(java_lang_Class, _klass_offset, int) \
157 static_field(java_lang_Class, _array_klass_offset, int) \
158 \
159 nonstatic_field(JVMCIEnv, _task, CompileTask*) \
160 nonstatic_field(JVMCIEnv, _jvmti_can_hotswap_or_post_breakpoint, bool) \
161 \
162 nonstatic_field(Klass, _secondary_super_cache, Klass*) \
163 nonstatic_field(Klass, _secondary_supers, Array<Klass*>*) \
164 nonstatic_field(Klass, _super, Klass*) \
165 nonstatic_field(Klass, _super_check_offset, juint) \
166 nonstatic_field(Klass, _subklass, Klass*) \
167 nonstatic_field(Klass, _layout_helper, jint) \
168 nonstatic_field(Klass, _name, Symbol*) \
169 nonstatic_field(Klass, _prototype_header, markOop) \
170 nonstatic_field(Klass, _next_sibling, Klass*) \
171 nonstatic_field(Klass, _java_mirror, oop) \
172 nonstatic_field(Klass, _modifier_flags, jint) \
173 nonstatic_field(Klass, _access_flags, AccessFlags) \
174 \
175 nonstatic_field(LocalVariableTableElement, start_bci, u2) \
176 nonstatic_field(LocalVariableTableElement, length, u2) \
177 nonstatic_field(LocalVariableTableElement, name_cp_index, u2) \
178 nonstatic_field(LocalVariableTableElement, descriptor_cp_index, u2) \
179 nonstatic_field(LocalVariableTableElement, signature_cp_index, u2) \
180 nonstatic_field(LocalVariableTableElement, slot, u2) \
181 \
182 nonstatic_field(Method, _constMethod, ConstMethod*) \
183 nonstatic_field(Method, _method_data, MethodData*) \
184 nonstatic_field(Method, _method_counters, MethodCounters*) \
185 nonstatic_field(Method, _access_flags, AccessFlags) \
186 nonstatic_field(Method, _vtable_index, int) \
187 nonstatic_field(Method, _intrinsic_id, u2) \
188 nonstatic_field(Method, _flags, u2) \
535 declare_function(os::dll_lookup) \
536 declare_function(os::javaTimeMillis) \
537 declare_function(os::javaTimeNanos) \
538 \
539 declare_function(Deoptimization::fetch_unroll_info) \
540 COMPILER2_PRESENT(declare_function(Deoptimization::uncommon_trap)) \
541 declare_function(Deoptimization::unpack_frames) \
542 \
543 declare_function(JVMCIRuntime::new_instance) \
544 declare_function(JVMCIRuntime::new_array) \
545 declare_function(JVMCIRuntime::new_multi_array) \
546 declare_function(JVMCIRuntime::dynamic_new_array) \
547 declare_function(JVMCIRuntime::dynamic_new_instance) \
548 \
549 declare_function(JVMCIRuntime::thread_is_interrupted) \
550 declare_function(JVMCIRuntime::vm_message) \
551 declare_function(JVMCIRuntime::identity_hash_code) \
552 declare_function(JVMCIRuntime::exception_handler_for_pc) \
553 declare_function(JVMCIRuntime::monitorenter) \
554 declare_function(JVMCIRuntime::monitorexit) \
555 declare_function(JVMCIRuntime::throw_and_post_jvmti_exception) \
556 declare_function(JVMCIRuntime::throw_klass_external_name_exception) \
557 declare_function(JVMCIRuntime::throw_class_cast_exception) \
558 declare_function(JVMCIRuntime::log_primitive) \
559 declare_function(JVMCIRuntime::log_object) \
560 declare_function(JVMCIRuntime::log_printf) \
561 declare_function(JVMCIRuntime::vm_error) \
562 declare_function(JVMCIRuntime::load_and_clear_exception) \
563 declare_function(JVMCIRuntime::write_barrier_pre) \
564 declare_function(JVMCIRuntime::write_barrier_post) \
565 declare_function(JVMCIRuntime::validate_object) \
566 \
567 declare_function(JVMCIRuntime::test_deoptimize_call_int)
568
569
570 #if INCLUDE_ALL_GCS
571
572 #define VM_STRUCTS_G1(nonstatic_field, static_field) \
573 static_field(HeapRegion, LogOfHRGrainBytes, int)
574
575 #define VM_INT_CONSTANTS_G1(declare_constant, declare_constant_with_value, declare_preprocessor_constant) \
576 declare_constant_with_value("G1SATBCardTableModRefBS::g1_young_gen", G1SATBCardTableModRefBS::g1_young_card_val())
577
|