-
Notifications
You must be signed in to change notification settings - Fork 721
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[JDK19] JVMTI framepop02.java#id1 and singlestep01 Segfault #16229
Comments
is it possible for us to put an exclusion from |
Not sure. But this failure will be seen with all JVMTI event callbacks since all can invoke |
@babsingh Do you think this will be resolved within 2 weeks? |
@tajila Yes, it will be resolved by the end of next week. |
Set J9JavaVM->vthreadGroup in stdinit.c::standardInit to remove the recursive dependency with JVMTI event callbacks, which causes an infinite loop. Closes: eclipse-openj9#16229 Signed-off-by: Babneet Singh <sbabneet@ca.ibm.com>
eclipse-openj9/openj9#16212 was fixed by 1. eclipse-openj9/openj9#16290 2. eclipse-openj9/openj9#16293 eclipse-openj9/openj9#16275 is a duplicate of eclipse-openj9/openj9#16212. eclipse-openj9/openj9#16229 was fixed by eclipse-openj9/openj9#16323. FramePop/framepop02 fails with another issue, which is reported in eclipse-openj9/openj9#16346. Signed-off-by: Babneet Singh <sbabneet@ca.ibm.com>
eclipse-openj9/openj9#16212 was fixed by 1. eclipse-openj9/openj9#16290; and 2. eclipse-openj9/openj9#16293. eclipse-openj9/openj9#16275 is a duplicate of eclipse-openj9/openj9#16212. eclipse-openj9/openj9#16229 was fixed by eclipse-openj9/openj9#16323. FramePop/framepop02 fails with another issue, which is reported in eclipse-openj9/openj9#16346. Signed-off-by: Babneet Singh <sbabneet@ca.ibm.com>
eclipse-openj9/openj9#16212 was fixed by 1. eclipse-openj9/openj9#16290; and 2. eclipse-openj9/openj9#16293. eclipse-openj9/openj9#16275 is a duplicate of eclipse-openj9/openj9#16212. eclipse-openj9/openj9#16229 was fixed by eclipse-openj9/openj9#16323. FramePop/framepop02 fails with another issue, which is reported in eclipse-openj9/openj9#16346. Signed-off-by: Babneet Singh <sbabneet@ca.ibm.com> Signed-off-by: Babneet Singh <sbabneet@ca.ibm.com>
framepop02/framepop02.java#id1
andSingleStep/singlestep01
pass with the RI. These tests are related to Project Loom. The test failures will only be seen in JDK19+.Related: #16187.
Issue
There is a recursive infinite loop. The test registers a JVMTI event callback for
MethodEntry
, and invokesjvmtiGetThreadInfo
from theMethodEntry
event callback.jvmtiGetThreadInfo
loads thejava/lang/Thread$Constants
class for the virtual thread path. While loading this class, theMethodEntry
event callback is invoked again. Then, we are stuck in an infinite loop:MethodEntry
event callback ->jvmtiGetThreadInfo
->MethodEntry
event callback ->jvmtiGetThreadInfo
.A similar recursive infinite loop is seen in
SingleStep/singlestep01
:SingleStep
event callback ->jvmtiGetThreadInfo
->SingleStep
event callback ->jvmtiGetThreadInfo
.To resolve this issue, I tried adding
java/lang/Thread$Constants
to therequiredClasses
array injclcinit.c
. Butjava/lang/Thread$Constants
has a static init block which fails to successfully execute at startup: Thread.java#L3037-L3065.Test CMD
Test Output
GDB Native Stack
The text was updated successfully, but these errors were encountered: