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

Protect entryName from being collected by the GC #20940

Merged
merged 1 commit into from
Jan 17, 2025

Conversation

babsingh
Copy link
Contributor

@babsingh babsingh commented Jan 15, 2025

j9gc_createJavaLangString can release VM access, which allows the GC
to move or collect objects. To prevent this, entryName is pushed to
a special frame before the call to j9gc_createJavaLangString. This
ensures that entryName is protected from being moved or collected by
the GC.

Related: #20870

j9gc_createJavaLangString can release VM access, which allows the GC
to move or collect objects. To prevent this, entryName is pushed to
a special frame before the call to j9gc_createJavaLangString. This
ensures that entryName is protected from being moved or collected by
the GC.

Related: eclipse-openj9#20870

Signed-off-by: Babneet Singh <[email protected]>
@babsingh babsingh marked this pull request as ready for review January 15, 2025 19:45
@babsingh babsingh requested a review from gacholio January 15, 2025 19:46
@babsingh
Copy link
Contributor Author

@gacholio Requesting your review.

@gacholio
Copy link
Contributor

jenkins test sanity zlinux jdknext

@babsingh
Copy link
Contributor Author

jdknext points to jdk25, which might be more unstable than jdk24. also, starting jdk24 builds.

jenkins test sanity amac jdk24

@babsingh
Copy link
Contributor Author

The failures seen in the PR builds are unrelated to these changes.

@gacholio gacholio merged commit a843c7e into eclipse-openj9:master Jan 17, 2025
4 of 9 checks passed
a7ehuo added a commit to a7ehuo/openj9 that referenced this pull request Jan 21, 2025
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