8304303: implement VirtualThread class notifyJvmti methods as C2 intrinsics

Reviewed-by: vlivanov, lmesnik
This commit is contained in:
Serguei Spitsyn 2023-03-20 19:55:16 +00:00
parent 2d0d057d66
commit bc0ed730f2
20 changed files with 325 additions and 174 deletions

View file

@ -510,7 +510,6 @@ class java_lang_ThreadGroup : AllStatic {
class java_lang_VirtualThread : AllStatic {
private:
static int static_notify_jvmti_events_offset;
static int static_vthread_scope_offset;
static int _carrierThread_offset;
static int _continuation_offset;
@ -548,9 +547,6 @@ class java_lang_VirtualThread : AllStatic {
static oop continuation(oop vthread);
static int state(oop vthread);
static JavaThreadStatus map_state_to_thread_status(int state);
static bool notify_jvmti_events();
static void set_notify_jvmti_events(bool enable);
static void init_static_notify_jvmti_events();
};