-
Notifications
You must be signed in to change notification settings - Fork 75
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
Acquire interruptLock for interruptImpl and isInterruptedImpl #803
Conversation
interruptImpl and isInterruptedImpl use the eetop/threadRef value. Acquiring interruptLock assures that the eetop/threadRef value won't change during interruptImpl and isInterruptedImpl. This will prevent crashes which happen when a stale eetop/threadRef value is used to invoke OMR thread library functions. Related: eclipse-openj9/openj9#19544 Related: eclipse-openj9/openj9#19598 Signed-off-by: Babneet Singh <sbabneet@ca.ibm.com>
Started a personal build on |
Only infra and known failures are seen in the personal build. In a grinder for the |
jenkins test sanity zlinux jdknext |
@babsingh Please open backports |
interruptImpl and isInterruptedImpl use the eetop/threadRef value. Acquiring interruptLock assures that the eetop/threadRef value won't change during interruptImpl and isInterruptedImpl. This will prevent crashes which happen when a stale eetop/threadRef value is used to invoke OMR thread library functions. Related: eclipse-openj9/openj9#19544 Related: eclipse-openj9/openj9#19598 Backport of ibmruntimes/openj9-openjdk-jdk#803 Signed-off-by: Babneet Singh <sbabneet@ca.ibm.com>
interruptImpl and isInterruptedImpl use the eetop/threadRef value. Acquiring interruptLock assures that the eetop/threadRef value won't change during interruptImpl and isInterruptedImpl. This will prevent crashes which happen when a stale eetop/threadRef value is used to invoke OMR thread library functions. Related: eclipse-openj9/openj9#19544 Related: eclipse-openj9/openj9#19598 Backport of ibmruntimes/openj9-openjdk-jdk#803 Signed-off-by: Babneet Singh <sbabneet@ca.ibm.com>
interruptImpl and isInterruptedImpl use the eetop/threadRef value. Acquiring interruptLock assures that the eetop/threadRef value won't change during interruptImpl and isInterruptedImpl. This will prevent crashes which happen when a stale eetop/threadRef value is used to invoke OMR thread library functions. Related: eclipse-openj9/openj9#19544 Related: eclipse-openj9/openj9#19598 Backport of ibmruntimes/openj9-openjdk-jdk#803 Signed-off-by: Babneet Singh <sbabneet@ca.ibm.com>
interruptImpl
andisInterruptedImpl
use theeetop/threadRef
value.Acquiring
interruptLock
assures that theeetop/threadRef
value won'tchange during
interruptImpl
andisInterruptedImpl
. This will preventcrashes which happen when a stale
eetop/threadRef
value is used toinvoke OMR thread library functions.
Related: eclipse-openj9/openj9#19544
Related: eclipse-openj9/openj9#19598