< prev index next >

src/hotspot/share/jvmci/vmStructs_jvmci.cpp

Print this page

 199   nonstatic_field(JavaThread,                  _vm_result,                                    oop)                                   \
 200   nonstatic_field(JavaThread,                  _stack_overflow_state._stack_overflow_limit,   address)                               \
 201   volatile_nonstatic_field(JavaThread,         _exception_oop,                                oop)                                   \
 202   volatile_nonstatic_field(JavaThread,         _exception_pc,                                 address)                               \
 203   volatile_nonstatic_field(JavaThread,         _is_method_handle_return,                      int)                                   \
 204   volatile_nonstatic_field(JavaThread,         _doing_unsafe_access,                          bool)                                  \
 205   nonstatic_field(JavaThread,                  _osthread,                                     OSThread*)                             \
 206   nonstatic_field(JavaThread,                  _saved_exception_pc,                           address)                               \
 207   nonstatic_field(JavaThread,                  _pending_deoptimization,                       int)                                   \
 208   nonstatic_field(JavaThread,                  _pending_failed_speculation,                   jlong)                                 \
 209   nonstatic_field(JavaThread,                  _pending_transfer_to_interpreter,              bool)                                  \
 210   nonstatic_field(JavaThread,                  _jvmci_counters,                               jlong*)                                \
 211   nonstatic_field(JavaThread,                  _jvmci_reserved0,                              jlong)                                 \
 212   nonstatic_field(JavaThread,                  _jvmci_reserved1,                              jlong)                                 \
 213   nonstatic_field(JavaThread,                  _jvmci_reserved_oop0,                          oop)                                   \
 214   nonstatic_field(JavaThread,                  _should_post_on_exceptions_flag,               int)                                   \
 215   nonstatic_field(JavaThread,                  _jni_environment,                              JNIEnv)                                \
 216   nonstatic_field(JavaThread,                  _poll_data,                                    SafepointMechanism::ThreadData)        \
 217   nonstatic_field(JavaThread,                  _stack_overflow_state._reserved_stack_activation, address)                            \
 218   nonstatic_field(JavaThread,                  _held_monitor_count,                           int64_t)                               \

 219   JVMTI_ONLY(nonstatic_field(JavaThread,       _is_in_VTMS_transition,                        bool))                                 \
 220   JVMTI_ONLY(nonstatic_field(JavaThread,       _is_in_tmp_VTMS_transition,                    bool))                                 \
 221                                                                                                                                      \


 222   JVMTI_ONLY(static_field(JvmtiVTMSTransitionDisabler, _VTMS_notify_jvmti_events,             bool))                                 \
 223                                                                                                                                      \
 224   static_field(java_lang_Class,                _klass_offset,                                 int)                                   \
 225   static_field(java_lang_Class,                _array_klass_offset,                           int)                                   \
 226                                                                                                                                      \
 227   nonstatic_field(InvocationCounter,           _counter,                                      unsigned int)                          \
 228                                                                                                                                      \
 229   nonstatic_field(Klass,                       _secondary_super_cache,                        Klass*)                                \
 230   nonstatic_field(Klass,                       _secondary_supers,                             Array<Klass*>*)                        \
 231   nonstatic_field(Klass,                       _super,                                        Klass*)                                \
 232   nonstatic_field(Klass,                       _super_check_offset,                           juint)                                 \
 233   volatile_nonstatic_field(Klass,              _subklass,                                     Klass*)                                \
 234   nonstatic_field(Klass,                       _layout_helper,                                jint)                                  \
 235   nonstatic_field(Klass,                       _name,                                         Symbol*)                               \
 236   volatile_nonstatic_field(Klass,              _next_sibling,                                 Klass*)                                \
 237   nonstatic_field(Klass,                       _java_mirror,                                  OopHandle)                             \
 238   nonstatic_field(Klass,                       _modifier_flags,                               jint)                                  \
 239   nonstatic_field(Klass,                       _access_flags,                                 AccessFlags)                           \
 240   nonstatic_field(Klass,                       _class_loader_data,                            ClassLoaderData*)                      \
 241                                                                                                                                      \

 476                                                                           \
 477   declare_constant(JVM_CONSTANT_Invalid)                                  \
 478   declare_constant(JVM_CONSTANT_InternalMin)                              \
 479   declare_constant(JVM_CONSTANT_UnresolvedClass)                          \
 480   declare_constant(JVM_CONSTANT_ClassIndex)                               \
 481   declare_constant(JVM_CONSTANT_StringIndex)                              \
 482   declare_constant(JVM_CONSTANT_UnresolvedClassInError)                   \
 483   declare_constant(JVM_CONSTANT_MethodHandleInError)                      \
 484   declare_constant(JVM_CONSTANT_MethodTypeInError)                        \
 485   declare_constant(JVM_CONSTANT_DynamicInError)                           \
 486   declare_constant(JVM_CONSTANT_InternalMax)                              \
 487                                                                           \
 488   declare_constant(ArrayData::array_len_off_set)                          \
 489   declare_constant(ArrayData::array_start_off_set)                        \
 490                                                                           \
 491   declare_constant(BitData::exception_seen_flag)                          \
 492   declare_constant(BitData::null_seen_flag)                               \
 493   declare_constant(BranchData::not_taken_off_set)                         \
 494                                                                           \
 495   declare_constant_with_value("CardTable::dirty_card", CardTable::dirty_card_val()) \

 496                                                                           \
 497   declare_constant(CodeInstaller::VERIFIED_ENTRY)                         \
 498   declare_constant(CodeInstaller::UNVERIFIED_ENTRY)                       \
 499   declare_constant(CodeInstaller::OSR_ENTRY)                              \
 500   declare_constant(CodeInstaller::EXCEPTION_HANDLER_ENTRY)                \
 501   declare_constant(CodeInstaller::DEOPT_HANDLER_ENTRY)                    \
 502   declare_constant(CodeInstaller::FRAME_COMPLETE)                         \
 503   declare_constant(CodeInstaller::ENTRY_BARRIER_PATCH)                    \
 504   declare_constant(CodeInstaller::INVOKEINTERFACE)                        \
 505   declare_constant(CodeInstaller::INVOKEVIRTUAL)                          \
 506   declare_constant(CodeInstaller::INVOKESTATIC)                           \
 507   declare_constant(CodeInstaller::INVOKESPECIAL)                          \
 508   declare_constant(CodeInstaller::INLINE_INVOKE)                          \
 509   declare_constant(CodeInstaller::POLL_NEAR)                              \
 510   declare_constant(CodeInstaller::POLL_RETURN_NEAR)                       \
 511   declare_constant(CodeInstaller::POLL_FAR)                               \
 512   declare_constant(CodeInstaller::POLL_RETURN_FAR)                        \
 513   declare_constant(CodeInstaller::CARD_TABLE_SHIFT)                       \
 514   declare_constant(CodeInstaller::CARD_TABLE_ADDRESS)                     \
 515   declare_constant(CodeInstaller::HEAP_TOP_ADDRESS)                       \

 660   declare_constant(Deoptimization::Reason_array_check)                    \
 661   declare_constant(Deoptimization::Reason_unreached0)                     \
 662   declare_constant(Deoptimization::Reason_constraint)                     \
 663   declare_constant(Deoptimization::Reason_div0_check)                     \
 664   declare_constant(Deoptimization::Reason_loop_limit_check)               \
 665   declare_constant(Deoptimization::Reason_type_checked_inlining)          \
 666   declare_constant(Deoptimization::Reason_optimized_type_check)           \
 667   declare_constant(Deoptimization::Reason_aliasing)                       \
 668   declare_constant(Deoptimization::Reason_transfer_to_interpreter)        \
 669   declare_constant(Deoptimization::Reason_not_compiled_exception_handler) \
 670   declare_constant(Deoptimization::Reason_unresolved)                     \
 671   declare_constant(Deoptimization::Reason_jsr_mismatch)                   \
 672   declare_constant(Deoptimization::Reason_TRAP_HISTORY_LENGTH)            \
 673   declare_constant(Deoptimization::_support_large_access_byte_array_virtualization) \
 674                                                                           \
 675                                                                           \
 676   declare_constant(InstanceKlass::linked)                                 \
 677   declare_constant(InstanceKlass::being_initialized)                      \
 678   declare_constant(InstanceKlass::fully_initialized)                      \
 679                                                                           \




 680   /*********************************/                                     \
 681   /* InstanceKlass _misc_flags */                                         \
 682   /*********************************/                                     \
 683                                                                           \
 684   declare_constant(InstanceKlassFlags::_misc_has_nonstatic_concrete_methods)   \
 685   declare_constant(InstanceKlassFlags::_misc_declares_nonstatic_concrete_methods) \
 686                                                                           \
 687   declare_constant(JumpData::taken_off_set)                               \
 688   declare_constant(JumpData::displacement_off_set)                        \
 689                                                                           \
 690   declare_preprocessor_constant("JVMCI::ok",                      JVMCI::ok)                      \
 691   declare_preprocessor_constant("JVMCI::dependencies_failed",     JVMCI::dependencies_failed)     \
 692   declare_preprocessor_constant("JVMCI::cache_full",              JVMCI::cache_full)              \
 693   declare_preprocessor_constant("JVMCI::code_too_large",          JVMCI::code_too_large)          \
 694   declare_preprocessor_constant("JVMCI::nmethod_reclaimed",       JVMCI::nmethod_reclaimed)       \
 695   declare_preprocessor_constant("JVMCI::first_permanent_bailout", JVMCI::first_permanent_bailout) \
 696                                                                           \
 697   declare_constant(JVMCIRuntime::none)                                    \
 698   declare_constant(JVMCIRuntime::by_holder)                               \
 699   declare_constant(JVMCIRuntime::by_full_signature)                       \

 707   declare_constant(Klass::_lh_header_size_shift)                          \
 708   declare_constant(Klass::_lh_header_size_mask)                           \
 709   declare_constant(Klass::_lh_array_tag_shift)                            \
 710   declare_constant(Klass::_lh_array_tag_type_value)                       \
 711   declare_constant(Klass::_lh_array_tag_obj_value)                        \
 712                                                                           \
 713   declare_constant(markWord::no_hash)                                     \
 714                                                                           \
 715   declare_constant(MethodFlags::_misc_force_inline)                       \
 716   declare_constant(MethodFlags::_misc_dont_inline)                        \
 717                                                                           \
 718   declare_constant(Method::nonvirtual_vtable_index)                       \
 719   declare_constant(Method::invalid_vtable_index)                          \
 720                                                                           \
 721   declare_constant(MultiBranchData::per_case_cell_count)                  \
 722                                                                           \
 723   AARCH64_ONLY(declare_constant(NMethodPatchingType::stw_instruction_and_data_patch))  \
 724   AARCH64_ONLY(declare_constant(NMethodPatchingType::conc_instruction_and_data_patch)) \
 725   AARCH64_ONLY(declare_constant(NMethodPatchingType::conc_data_patch))                 \
 726                                                                           \


 727   declare_constant(ReceiverTypeData::nonprofiled_count_off_set)           \
 728   declare_constant(ReceiverTypeData::receiver_type_row_cell_count)        \
 729   declare_constant(ReceiverTypeData::receiver0_offset)                    \
 730   declare_constant(ReceiverTypeData::count0_offset)                       \
 731                                                                           \
 732   declare_constant(vmIntrinsics::_invokeBasic)                            \
 733   declare_constant(vmIntrinsics::_linkToVirtual)                          \
 734   declare_constant(vmIntrinsics::_linkToStatic)                           \
 735   declare_constant(vmIntrinsics::_linkToSpecial)                          \
 736   declare_constant(vmIntrinsics::_linkToInterface)                        \
 737                                                                           \
 738   declare_constant(vmSymbols::FIRST_SID)                                  \
 739   declare_constant(vmSymbols::SID_LIMIT)                                  \
 740 
 741 #define VM_LONG_CONSTANTS(declare_constant, declare_preprocessor_constant) \
 742   declare_constant(InvocationCounter::count_increment)                    \
 743   declare_constant(InvocationCounter::count_shift)                        \
 744                                                                           \
 745   declare_constant(markWord::hash_shift)                                  \
 746   declare_constant(markWord::monitor_value)                               \

 199   nonstatic_field(JavaThread,                  _vm_result,                                    oop)                                   \
 200   nonstatic_field(JavaThread,                  _stack_overflow_state._stack_overflow_limit,   address)                               \
 201   volatile_nonstatic_field(JavaThread,         _exception_oop,                                oop)                                   \
 202   volatile_nonstatic_field(JavaThread,         _exception_pc,                                 address)                               \
 203   volatile_nonstatic_field(JavaThread,         _is_method_handle_return,                      int)                                   \
 204   volatile_nonstatic_field(JavaThread,         _doing_unsafe_access,                          bool)                                  \
 205   nonstatic_field(JavaThread,                  _osthread,                                     OSThread*)                             \
 206   nonstatic_field(JavaThread,                  _saved_exception_pc,                           address)                               \
 207   nonstatic_field(JavaThread,                  _pending_deoptimization,                       int)                                   \
 208   nonstatic_field(JavaThread,                  _pending_failed_speculation,                   jlong)                                 \
 209   nonstatic_field(JavaThread,                  _pending_transfer_to_interpreter,              bool)                                  \
 210   nonstatic_field(JavaThread,                  _jvmci_counters,                               jlong*)                                \
 211   nonstatic_field(JavaThread,                  _jvmci_reserved0,                              jlong)                                 \
 212   nonstatic_field(JavaThread,                  _jvmci_reserved1,                              jlong)                                 \
 213   nonstatic_field(JavaThread,                  _jvmci_reserved_oop0,                          oop)                                   \
 214   nonstatic_field(JavaThread,                  _should_post_on_exceptions_flag,               int)                                   \
 215   nonstatic_field(JavaThread,                  _jni_environment,                              JNIEnv)                                \
 216   nonstatic_field(JavaThread,                  _poll_data,                                    SafepointMechanism::ThreadData)        \
 217   nonstatic_field(JavaThread,                  _stack_overflow_state._reserved_stack_activation, address)                            \
 218   nonstatic_field(JavaThread,                  _held_monitor_count,                           int64_t)                               \
 219   nonstatic_field(JavaThread,                  _lock_stack,                                   LockStack)                             \
 220   JVMTI_ONLY(nonstatic_field(JavaThread,       _is_in_VTMS_transition,                        bool))                                 \
 221   JVMTI_ONLY(nonstatic_field(JavaThread,       _is_in_tmp_VTMS_transition,                    bool))                                 \
 222                                                                                                                                      \
 223   nonstatic_field(LockStack,                   _top,                                          uint32_t)                              \
 224                                                                                                                                      \
 225   JVMTI_ONLY(static_field(JvmtiVTMSTransitionDisabler, _VTMS_notify_jvmti_events,             bool))                                 \
 226                                                                                                                                      \
 227   static_field(java_lang_Class,                _klass_offset,                                 int)                                   \
 228   static_field(java_lang_Class,                _array_klass_offset,                           int)                                   \
 229                                                                                                                                      \
 230   nonstatic_field(InvocationCounter,           _counter,                                      unsigned int)                          \
 231                                                                                                                                      \
 232   nonstatic_field(Klass,                       _secondary_super_cache,                        Klass*)                                \
 233   nonstatic_field(Klass,                       _secondary_supers,                             Array<Klass*>*)                        \
 234   nonstatic_field(Klass,                       _super,                                        Klass*)                                \
 235   nonstatic_field(Klass,                       _super_check_offset,                           juint)                                 \
 236   volatile_nonstatic_field(Klass,              _subklass,                                     Klass*)                                \
 237   nonstatic_field(Klass,                       _layout_helper,                                jint)                                  \
 238   nonstatic_field(Klass,                       _name,                                         Symbol*)                               \
 239   volatile_nonstatic_field(Klass,              _next_sibling,                                 Klass*)                                \
 240   nonstatic_field(Klass,                       _java_mirror,                                  OopHandle)                             \
 241   nonstatic_field(Klass,                       _modifier_flags,                               jint)                                  \
 242   nonstatic_field(Klass,                       _access_flags,                                 AccessFlags)                           \
 243   nonstatic_field(Klass,                       _class_loader_data,                            ClassLoaderData*)                      \
 244                                                                                                                                      \

 479                                                                           \
 480   declare_constant(JVM_CONSTANT_Invalid)                                  \
 481   declare_constant(JVM_CONSTANT_InternalMin)                              \
 482   declare_constant(JVM_CONSTANT_UnresolvedClass)                          \
 483   declare_constant(JVM_CONSTANT_ClassIndex)                               \
 484   declare_constant(JVM_CONSTANT_StringIndex)                              \
 485   declare_constant(JVM_CONSTANT_UnresolvedClassInError)                   \
 486   declare_constant(JVM_CONSTANT_MethodHandleInError)                      \
 487   declare_constant(JVM_CONSTANT_MethodTypeInError)                        \
 488   declare_constant(JVM_CONSTANT_DynamicInError)                           \
 489   declare_constant(JVM_CONSTANT_InternalMax)                              \
 490                                                                           \
 491   declare_constant(ArrayData::array_len_off_set)                          \
 492   declare_constant(ArrayData::array_start_off_set)                        \
 493                                                                           \
 494   declare_constant(BitData::exception_seen_flag)                          \
 495   declare_constant(BitData::null_seen_flag)                               \
 496   declare_constant(BranchData::not_taken_off_set)                         \
 497                                                                           \
 498   declare_constant_with_value("CardTable::dirty_card", CardTable::dirty_card_val()) \
 499   declare_constant_with_value("LockStack::_end_offset", LockStack::end_offset()) \
 500                                                                           \
 501   declare_constant(CodeInstaller::VERIFIED_ENTRY)                         \
 502   declare_constant(CodeInstaller::UNVERIFIED_ENTRY)                       \
 503   declare_constant(CodeInstaller::OSR_ENTRY)                              \
 504   declare_constant(CodeInstaller::EXCEPTION_HANDLER_ENTRY)                \
 505   declare_constant(CodeInstaller::DEOPT_HANDLER_ENTRY)                    \
 506   declare_constant(CodeInstaller::FRAME_COMPLETE)                         \
 507   declare_constant(CodeInstaller::ENTRY_BARRIER_PATCH)                    \
 508   declare_constant(CodeInstaller::INVOKEINTERFACE)                        \
 509   declare_constant(CodeInstaller::INVOKEVIRTUAL)                          \
 510   declare_constant(CodeInstaller::INVOKESTATIC)                           \
 511   declare_constant(CodeInstaller::INVOKESPECIAL)                          \
 512   declare_constant(CodeInstaller::INLINE_INVOKE)                          \
 513   declare_constant(CodeInstaller::POLL_NEAR)                              \
 514   declare_constant(CodeInstaller::POLL_RETURN_NEAR)                       \
 515   declare_constant(CodeInstaller::POLL_FAR)                               \
 516   declare_constant(CodeInstaller::POLL_RETURN_FAR)                        \
 517   declare_constant(CodeInstaller::CARD_TABLE_SHIFT)                       \
 518   declare_constant(CodeInstaller::CARD_TABLE_ADDRESS)                     \
 519   declare_constant(CodeInstaller::HEAP_TOP_ADDRESS)                       \

 664   declare_constant(Deoptimization::Reason_array_check)                    \
 665   declare_constant(Deoptimization::Reason_unreached0)                     \
 666   declare_constant(Deoptimization::Reason_constraint)                     \
 667   declare_constant(Deoptimization::Reason_div0_check)                     \
 668   declare_constant(Deoptimization::Reason_loop_limit_check)               \
 669   declare_constant(Deoptimization::Reason_type_checked_inlining)          \
 670   declare_constant(Deoptimization::Reason_optimized_type_check)           \
 671   declare_constant(Deoptimization::Reason_aliasing)                       \
 672   declare_constant(Deoptimization::Reason_transfer_to_interpreter)        \
 673   declare_constant(Deoptimization::Reason_not_compiled_exception_handler) \
 674   declare_constant(Deoptimization::Reason_unresolved)                     \
 675   declare_constant(Deoptimization::Reason_jsr_mismatch)                   \
 676   declare_constant(Deoptimization::Reason_TRAP_HISTORY_LENGTH)            \
 677   declare_constant(Deoptimization::_support_large_access_byte_array_virtualization) \
 678                                                                           \
 679                                                                           \
 680   declare_constant(InstanceKlass::linked)                                 \
 681   declare_constant(InstanceKlass::being_initialized)                      \
 682   declare_constant(InstanceKlass::fully_initialized)                      \
 683                                                                           \
 684   declare_constant(LockingMode::LM_MONITOR)                               \
 685   declare_constant(LockingMode::LM_LEGACY)                                \
 686   declare_constant(LockingMode::LM_LIGHTWEIGHT)                           \
 687                                                                           \
 688   /*********************************/                                     \
 689   /* InstanceKlass _misc_flags */                                         \
 690   /*********************************/                                     \
 691                                                                           \
 692   declare_constant(InstanceKlassFlags::_misc_has_nonstatic_concrete_methods)   \
 693   declare_constant(InstanceKlassFlags::_misc_declares_nonstatic_concrete_methods) \
 694                                                                           \
 695   declare_constant(JumpData::taken_off_set)                               \
 696   declare_constant(JumpData::displacement_off_set)                        \
 697                                                                           \
 698   declare_preprocessor_constant("JVMCI::ok",                      JVMCI::ok)                      \
 699   declare_preprocessor_constant("JVMCI::dependencies_failed",     JVMCI::dependencies_failed)     \
 700   declare_preprocessor_constant("JVMCI::cache_full",              JVMCI::cache_full)              \
 701   declare_preprocessor_constant("JVMCI::code_too_large",          JVMCI::code_too_large)          \
 702   declare_preprocessor_constant("JVMCI::nmethod_reclaimed",       JVMCI::nmethod_reclaimed)       \
 703   declare_preprocessor_constant("JVMCI::first_permanent_bailout", JVMCI::first_permanent_bailout) \
 704                                                                           \
 705   declare_constant(JVMCIRuntime::none)                                    \
 706   declare_constant(JVMCIRuntime::by_holder)                               \
 707   declare_constant(JVMCIRuntime::by_full_signature)                       \

 715   declare_constant(Klass::_lh_header_size_shift)                          \
 716   declare_constant(Klass::_lh_header_size_mask)                           \
 717   declare_constant(Klass::_lh_array_tag_shift)                            \
 718   declare_constant(Klass::_lh_array_tag_type_value)                       \
 719   declare_constant(Klass::_lh_array_tag_obj_value)                        \
 720                                                                           \
 721   declare_constant(markWord::no_hash)                                     \
 722                                                                           \
 723   declare_constant(MethodFlags::_misc_force_inline)                       \
 724   declare_constant(MethodFlags::_misc_dont_inline)                        \
 725                                                                           \
 726   declare_constant(Method::nonvirtual_vtable_index)                       \
 727   declare_constant(Method::invalid_vtable_index)                          \
 728                                                                           \
 729   declare_constant(MultiBranchData::per_case_cell_count)                  \
 730                                                                           \
 731   AARCH64_ONLY(declare_constant(NMethodPatchingType::stw_instruction_and_data_patch))  \
 732   AARCH64_ONLY(declare_constant(NMethodPatchingType::conc_instruction_and_data_patch)) \
 733   AARCH64_ONLY(declare_constant(NMethodPatchingType::conc_data_patch))                 \
 734                                                                           \
 735   declare_constant(ObjectMonitor::ANONYMOUS_OWNER)                        \
 736                                                                           \
 737   declare_constant(ReceiverTypeData::nonprofiled_count_off_set)           \
 738   declare_constant(ReceiverTypeData::receiver_type_row_cell_count)        \
 739   declare_constant(ReceiverTypeData::receiver0_offset)                    \
 740   declare_constant(ReceiverTypeData::count0_offset)                       \
 741                                                                           \
 742   declare_constant(vmIntrinsics::_invokeBasic)                            \
 743   declare_constant(vmIntrinsics::_linkToVirtual)                          \
 744   declare_constant(vmIntrinsics::_linkToStatic)                           \
 745   declare_constant(vmIntrinsics::_linkToSpecial)                          \
 746   declare_constant(vmIntrinsics::_linkToInterface)                        \
 747                                                                           \
 748   declare_constant(vmSymbols::FIRST_SID)                                  \
 749   declare_constant(vmSymbols::SID_LIMIT)                                  \
 750 
 751 #define VM_LONG_CONSTANTS(declare_constant, declare_preprocessor_constant) \
 752   declare_constant(InvocationCounter::count_increment)                    \
 753   declare_constant(InvocationCounter::count_shift)                        \
 754                                                                           \
 755   declare_constant(markWord::hash_shift)                                  \
 756   declare_constant(markWord::monitor_value)                               \
< prev index next >