Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Acquire interruptLock for interruptImpl and isInterruptedImpl
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>
- Loading branch information