< prev index next >

src/hotspot/share/prims/jvmtiExport.hpp

Print this page
*** 89,12 ***
--- 89,14 ---
    JVMTI_SUPPORT_FLAG(can_post_breakpoint)
    JVMTI_SUPPORT_FLAG(can_post_field_access)
    JVMTI_SUPPORT_FLAG(can_post_field_modification)
    JVMTI_SUPPORT_FLAG(can_post_method_entry)
    JVMTI_SUPPORT_FLAG(can_post_method_exit)
+   JVMTI_SUPPORT_FLAG(can_post_frame_pop)
    JVMTI_SUPPORT_FLAG(can_pop_frame)
    JVMTI_SUPPORT_FLAG(can_force_early_return)
+   JVMTI_SUPPORT_FLAG(can_support_virtual_threads)
  
    JVMTI_SUPPORT_FLAG(early_vmstart_recorded)
    JVMTI_SUPPORT_FLAG(can_get_owned_monitor_info) // includes can_get_owned_monitor_stack_depth_info
  
    friend class JvmtiEventControllerPrivate;  // should only modify these flags

*** 128,10 ***
--- 130,15 ---
    // breakpoint info
    JVMTI_SUPPORT_FLAG(should_clean_up_heap_objects)
    JVMTI_SUPPORT_FLAG(should_post_vm_object_alloc)
    JVMTI_SUPPORT_FLAG(should_post_sampled_object_alloc)
  
+   JVMTI_SUPPORT_FLAG(should_post_vthread_start)
+   JVMTI_SUPPORT_FLAG(should_post_vthread_end)
+   JVMTI_SUPPORT_FLAG(should_post_vthread_mount)
+   JVMTI_SUPPORT_FLAG(should_post_vthread_unmount)
+ 
    // If flag cannot be implemented, give an error if on=true
    static void report_unsupported(bool on);
  
    // these should only be called by the friend class
    friend class JvmtiManageCapabilities;

*** 289,10 ***
--- 296,12 ---
    }
    static jint get_jvmti_interface(JavaVM *jvm, void **penv, jint version) NOT_JVMTI_RETURN_(0);
    static void decode_version_values(jint version, int * major, int * minor,
                                      int * micro) NOT_JVMTI_RETURN;
  
+   static void check_suspend_at_safepoint(JavaThread *thread) NOT_JVMTI_RETURN;
+ 
    // single stepping management methods
    static void at_single_stepping_point(JavaThread *thread, Method* method, address location) NOT_JVMTI_RETURN;
    static void expose_single_stepping(JavaThread *thread) NOT_JVMTI_RETURN;
    static bool hide_single_stepping(JavaThread *thread) NOT_JVMTI_RETURN_(false);
  

*** 333,10 ***
--- 342,17 ---
    static void post_class_prepare         (JavaThread *thread, Klass* klass) NOT_JVMTI_RETURN;
  
    static void post_thread_start          (JavaThread *thread) NOT_JVMTI_RETURN;
    static void post_thread_end            (JavaThread *thread) NOT_JVMTI_RETURN;
  
+   static void post_vthread_start         (jthread vthread) NOT_JVMTI_RETURN;
+   static void post_vthread_end           (jthread vthread) NOT_JVMTI_RETURN;
+   static void post_vthread_mount         (jthread vthread) NOT_JVMTI_RETURN;
+   static void post_vthread_unmount       (jthread vthread) NOT_JVMTI_RETURN;
+ 
+   static void continuation_yield_cleanup (JavaThread* thread, jint continuation_frame_count) NOT_JVMTI_RETURN;
+ 
    // Support for java.lang.instrument agent loading.
    static bool _should_post_class_file_load_hook;
    inline static void set_should_post_class_file_load_hook(bool on)     { _should_post_class_file_load_hook = on;  }
    inline static bool should_post_class_file_load_hook()           {
      JVMTI_ONLY(return _should_post_class_file_load_hook);
< prev index next >