Skip to content

Fix stale object in jvmtiGetThreadGroupChildren #19474

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

Merged
merged 1 commit into from
May 13, 2024

Conversation

babsingh
Copy link
Contributor

@babsingh babsingh commented May 9, 2024

While acquiring exclusive VM access, VM access can be released.
GC might relocate threadGroupObject when VM access is released.
threadGroupObject is refetched to avoid a stale object.

Fixes: #19438

While acquiring exclusive VM access, VM access can be released.
GC might relocate threadGroupObject when VM access is released.
threadGroupObject is refetched to avoid a stale object.

Fixes: eclipse-openj9#19438

Signed-off-by: Babneet Singh <[email protected]>
@babsingh babsingh requested a review from tajila May 9, 2024 18:54
@babsingh
Copy link
Contributor Author

babsingh commented May 9, 2024

@tajila Requesting your review.

fyi @pshipton

@tajila
Copy link
Contributor

tajila commented May 10, 2024

jenkins test sanity alinux64 jdk21

@tajila tajila merged commit 6880b59 into eclipse-openj9:master May 13, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

serviceability_jvmti_j9_0_FAILED serviceability/jvmti/vthread/BoundVThreadTest/BoundVThreadTest.java Segmentation error vmState=0x00040000
2 participants