mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8316456: StackWalker may skip Continuation::yield0 frame mistakenly
Reviewed-by: rpressler, pchilanomate
This commit is contained in:
parent
041510dc21
commit
c72f00463f
7 changed files with 152 additions and 162 deletions
|
@ -56,10 +56,10 @@ JNIEXPORT jboolean JNICALL Java_java_lang_StackStreamFactory_checkStackWalkModes
|
|||
*/
|
||||
JNIEXPORT jobject JNICALL Java_java_lang_StackStreamFactory_00024AbstractStackWalker_callStackWalk
|
||||
(JNIEnv *env, jobject stackstream, jint mode, jint skipFrames, jobject contScope, jobject cont,
|
||||
jint batchSize, jint startIndex, jobjectArray frames)
|
||||
jint bufferSize, jint startIndex, jobjectArray frames)
|
||||
{
|
||||
return JVM_CallStackWalk(env, stackstream, mode, skipFrames, contScope, cont,
|
||||
batchSize, startIndex, frames);
|
||||
bufferSize, startIndex, frames);
|
||||
}
|
||||
|
||||
/*
|
||||
|
@ -69,10 +69,10 @@ JNIEXPORT jobject JNICALL Java_java_lang_StackStreamFactory_00024AbstractStackWa
|
|||
*/
|
||||
JNIEXPORT jint JNICALL Java_java_lang_StackStreamFactory_00024AbstractStackWalker_fetchStackFrames
|
||||
(JNIEnv *env, jobject stackstream, jint mode, jlong anchor,
|
||||
jint batchSize, jint startIndex,
|
||||
int lastBatchFrameCount, jint bufferSize, jint startIndex,
|
||||
jobjectArray frames)
|
||||
{
|
||||
return JVM_MoreStackWalk(env, stackstream, mode, anchor, batchSize,
|
||||
return JVM_MoreStackWalk(env, stackstream, mode, anchor, lastBatchFrameCount, bufferSize,
|
||||
startIndex, frames);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue