< prev index next > src/hotspot/share/prims/jvmtiExport.cpp
Print this page
if (Continuations::enabled()) {
// Virtual threads support. There is a performance impact when VTMS transitions are enabled.
java_lang_VirtualThread::set_notify_jvmti_events(true);
if (JvmtiEnv::get_phase() == JVMTI_PHASE_LIVE) {
ThreadInVMfromNative __tiv(JavaThread::current());
+ JvmtiVTMSTransitionDisabler disabler;
java_lang_VirtualThread::init_static_notify_jvmti_events();
}
}
if (JvmtiEnv::get_phase() == JVMTI_PHASE_LIVE) {
< prev index next >