|
32 | 32 | #include "jvmci/vmStructs_jvmci.hpp" |
33 | 33 | #include "oops/klassVtable.hpp" |
34 | 34 | #include "oops/objArrayKlass.hpp" |
| 35 | +#include "prims/jvmtiThreadState.hpp" |
35 | 36 | #include "runtime/deoptimization.hpp" |
36 | 37 | #include "runtime/flags/jvmFlag.hpp" |
37 | 38 | #include "runtime/osThread.hpp" |
|
215 | 216 | nonstatic_field(JavaThread, _poll_data, SafepointMechanism::ThreadData) \ |
216 | 217 | nonstatic_field(JavaThread, _stack_overflow_state._reserved_stack_activation, address) \ |
217 | 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)) \ |
218 | 223 | \ |
219 | 224 | static_field(java_lang_Class, _klass_offset, int) \ |
220 | 225 | static_field(java_lang_Class, _array_klass_offset, int) \ |
|
366 | 371 | JFR_ONLY(nonstatic_field(Thread, _jfr_thread_local, JfrThreadLocal)) \ |
367 | 372 | \ |
368 | 373 | static_field(java_lang_Thread, _tid_offset, int) \ |
| 374 | + static_field(java_lang_Thread, _jvmti_is_in_VTMS_transition_offset, int) \ |
369 | 375 | JFR_ONLY(static_field(java_lang_Thread, _jfr_epoch_offset, int)) \ |
370 | 376 | \ |
371 | 377 | JFR_ONLY(nonstatic_field(JfrThreadLocal, _vthread_id, traceid)) \ |
|
756 | 762 | declare_function(SharedRuntime::enable_stack_reserved_zone) \ |
757 | 763 | declare_function(SharedRuntime::frem) \ |
758 | 764 | declare_function(SharedRuntime::drem) \ |
| 765 | + JVMTI_ONLY(declare_function(SharedRuntime::notify_jvmti_vthread_start)) \ |
| 766 | + JVMTI_ONLY(declare_function(SharedRuntime::notify_jvmti_vthread_end)) \ |
| 767 | + JVMTI_ONLY(declare_function(SharedRuntime::notify_jvmti_vthread_mount)) \ |
| 768 | + JVMTI_ONLY(declare_function(SharedRuntime::notify_jvmti_vthread_unmount)) \ |
759 | 769 | \ |
760 | 770 | declare_function(os::dll_load) \ |
761 | 771 | declare_function(os::dll_lookup) \ |
|
0 commit comments