Skip to content
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

keep Runnable r strongly reachable so that it is not reclaimable by GC #815

Merged
merged 1 commit into from
Oct 2, 2024

Conversation

JasonFengJ9
Copy link
Member

keep Runnable r strongly reachable so that it is not reclaimable by GC

The GC might occur before the second native library loading by another class loader, keep Runnable r strongly reachable so that it is not reclaimable by GC, and ensure UnsatisfiedLinkError.

Cherry-pick

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

The GC might occur before the second native library loading by another
class loader, keep Runnable r strongly reachable so that it is not
reclaimable by GC, and ensure UnsatisfiedLinkError.

Signed-off-by: Jason Feng <[email protected]>
@pshipton pshipton merged commit 0674172 into ibmruntimes:openj9 Oct 2, 2024
2 checks passed
@JasonFengJ9 JasonFengJ9 deleted the gcproof branch October 2, 2024 19:44
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.

2 participants