Skip to content

(0.51) Fetch module object reference after GC point #21751

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
Apr 29, 2025

Conversation

JasonFengJ9
Copy link
Member

Fetch module object reference after GC point

Moved J9_JNI_UNWRAP_REFERENCE(module) after internalFindKnownClass() which could trigger GC and invalidate the module object fetched before.

Cherry-pick

Signed-off-by: Jason Feng [email protected]

Moved J9_JNI_UNWRAP_REFERENCE(module) after internalFindKnownClass()
which could trigger GC and invalidate the module object fetched before.

Signed-off-by: Jason Feng <[email protected]>

Signed-off-by: Jason Feng <[email protected]>
@JasonFengJ9 JasonFengJ9 requested a review from tajila April 29, 2025 12:33
@tajila tajila merged commit 63ad5e2 into eclipse-openj9:v0.51.0-release Apr 29, 2025
2 checks passed
@JasonFengJ9 JasonFengJ9 deleted the moduleobj-0.51 branch April 29, 2025 13:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants