< prev index next >

src/java.base/share/native/libjava/StackStreamFactory.c

Print this page
@@ -50,28 +50,39 @@
  }
  
  /*
   * Class:     java_lang_StackStreamFactory_AbstractStackWalker
   * Method:    callStackWalk
-  * Signature: (JIII[Ljava/lang/Object;)Ljava/lang/Object;
+  * Signature: (JILjdk/internal/vm/ContinuationScope;Ljdk/internal/vm/Continuation;II[Ljava/lang/Object;)Ljava/lang/Object;
   */
  JNIEXPORT jobject JNICALL Java_java_lang_StackStreamFactory_00024AbstractStackWalker_callStackWalk
-   (JNIEnv *env, jobject stackstream, jlong mode, jint skipFrames, jint batchSize, jint startIndex,
-    jobjectArray frames)
+   (JNIEnv *env, jobject stackstream, jlong mode, jint skipFrames, jobject contScope, jobject cont,
+    jint batchSize, jint startIndex, jobjectArray frames)
  {
-     return JVM_CallStackWalk(env, stackstream, mode, skipFrames, batchSize,
-                              startIndex, frames);
+     return JVM_CallStackWalk(env, stackstream, mode, skipFrames, contScope, cont,
+                              batchSize, startIndex, frames);
  }
  
  /*
   * Class:     java_lang_StackStreamFactory_AbstractStackWalker
   * Method:    fetchStackFrames
   * Signature: (JJII[Ljava/lang/Object;)I
   */
  JNIEXPORT jint JNICALL Java_java_lang_StackStreamFactory_00024AbstractStackWalker_fetchStackFrames
    (JNIEnv *env, jobject stackstream, jlong mode, jlong anchor,
-    jint batchSize, jint startIndex,
+    jint batchSize, jint startIndex, 
     jobjectArray frames)
  {
-     return JVM_MoreStackWalk(env, stackstream, mode, anchor, batchSize,
+     return JVM_MoreStackWalk(env, stackstream, mode, anchor, batchSize, 
                               startIndex, frames);
  }
+ 
+ /*
+  * Class:     java_lang_StackStreamFactory_AbstractStackWalker
+  * Method:    setContinuation
+  * Signature: (J[Ljava/lang/Object;Ljdk/internal/vm/Continuation;)V
+  */
+ JNIEXPORT void JNICALL Java_java_lang_StackStreamFactory_00024AbstractStackWalker_setContinuation
+   (JNIEnv *env, jobject stackstream, jlong anchor, jobjectArray frames, jobject cont)
+ {
+   JVM_SetStackWalkContinuation(env, stackstream, anchor, frames, cont);
+ }
< prev index next >