< prev index next >

src/hotspot/share/prims/jvmtiExport.hpp

Print this page

        

@@ -85,12 +85,15 @@
   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_fibers)
+  JVMTI_SUPPORT_FLAG(can_support_continuations)
 
   JVMTI_SUPPORT_FLAG(early_vmstart_recorded)
 
   friend class JvmtiEventControllerPrivate;  // should only modify these flags
   JVMTI_SUPPORT_FLAG(should_post_single_step)

@@ -123,10 +126,18 @@
   // 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_continuation_run)
+  JVMTI_SUPPORT_FLAG(should_post_continuation_yield)
+
+  JVMTI_SUPPORT_FLAG(should_post_fiber_scheduled)
+  JVMTI_SUPPORT_FLAG(should_post_fiber_terminated)
+  JVMTI_SUPPORT_FLAG(should_post_fiber_mount)
+  JVMTI_SUPPORT_FLAG(should_post_fiber_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;

@@ -317,10 +328,18 @@
   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_fiber_scheduled       (jthread thread, jobject fiber) NOT_JVMTI_RETURN;
+  static void post_fiber_terminated      (jthread thread, jobject fiber) NOT_JVMTI_RETURN;
+  static void post_fiber_mount           (jthread thread, jobject fiber) NOT_JVMTI_RETURN;
+  static void post_fiber_unmount         (jthread thread, jobject fiber) NOT_JVMTI_RETURN;
+  
+  static void post_continuation_run      (JavaThread* thread, jint continuation_frame_count) NOT_JVMTI_RETURN;
+  static void post_continuation_yield    (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 >