Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix jvmtiGetVirtualThread and make it more robust
If no virtual thread is mounted on the targetThread i.e. carrierThreadObject == threadObject, then return null for the output virtual thread value. Virtual thread is not pinned in this function. So, read threadObject and carrierThreadObject once and store their values to avoid inconsistency. Related: eclipse-openj9#16688 Related: eclipse-openj9#16751 Signed-off-by: Babneet Singh <sbabneet@ca.ibm.com>
- Loading branch information