< prev index next >

src/hotspot/share/include/jvm.h

Print this page

        

@@ -178,11 +178,11 @@
 
 /*
  * java.lang.Throwable
  */
 JNIEXPORT void JNICALL
-JVM_FillInStackTrace(JNIEnv *env, jobject throwable);
+JVM_FillInStackTrace(JNIEnv *env, jobject throwable, jobject contScope);
 
 /*
  * java.lang.StackTraceElement
  */
 JNIEXPORT void JNICALL

@@ -201,18 +201,21 @@
   JVM_STACKWALK_FILL_LIVE_STACK_FRAMES     = 0x100
 };
 
 JNIEXPORT jobject JNICALL
 JVM_CallStackWalk(JNIEnv *env, jobject stackStream, jlong mode,
-                  jint skip_frames, jint frame_count, jint start_index,
-                  jobjectArray frames);
+                  jint skip_frames, jobject contScope, jobject cont,
+                  jint frame_count, jint start_index, jobjectArray frames);
 
 JNIEXPORT jint JNICALL
-JVM_MoreStackWalk(JNIEnv *env, jobject stackStream, jlong mode, jlong anchor,
-                  jint frame_count, jint start_index,
+JVM_MoreStackWalk(JNIEnv *env, jobject stackStream, jlong mode, jlong anchor, 
+                  jint frame_count, jint start_index, 
                   jobjectArray frames);
 
+JNIEXPORT void JNICALL
+JVM_SetStackWalkContinuation(JNIEnv *env, jobject stackStream, jlong anchor, jobjectArray frames, jobject cont);
+
 /*
  * java.lang.Thread
  */
 JNIEXPORT void JNICALL
 JVM_StartThread(JNIEnv *env, jobject thread);

@@ -265,10 +268,16 @@
 /* getStackTrace() and getAllStackTraces() method */
 JNIEXPORT jobjectArray JNICALL
 JVM_DumpThreads(JNIEnv *env, jclass threadClass, jobjectArray threads);
 
 /*
+ * java.lang.Continuation
+ */
+JNIEXPORT void JNICALL
+JVM_RegisterContinuationMethods(JNIEnv *env, jclass cls);
+
+/*
  * java.lang.SecurityManager
  */
 JNIEXPORT jobjectArray JNICALL
 JVM_GetClassContext(JNIEnv *env);
 

@@ -1224,10 +1233,25 @@
  * method's name and descriptor, respectively.
  */
 JNIEXPORT jobjectArray JNICALL
 JVM_GetEnclosingMethodInfo(JNIEnv* env, jclass ofClass);
 
+/* Fiber support.
+ */
+JNIEXPORT void JNICALL
+JVM_FiberStarted(JNIEnv* env, jclass fiber_class, jobject event_thread, jobject fiber);
+
+JNIEXPORT void JNICALL
+JVM_FiberTerminated(JNIEnv* env, jclass fiber_class, jobject event_hread, jobject fiber);
+
+JNIEXPORT void JNICALL
+JVM_FiberMount(JNIEnv* env, jclass fiber_class, jobject event_thread, jobject fiber);
+
+JNIEXPORT void JNICALL
+JVM_FiberUnmount(JNIEnv* env, jclass fiber_class, jobject event_hread, jobject fiber);
+
+
 /* =========================================================================
  * The following defines a private JVM interface that the JDK can query
  * for the JVM version and capabilities.  sun.misc.Version defines
  * the methods for getting the VM version and its capabilities.
  *
< prev index next >