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

codegen: make more judicious use of global rooting #56625

Merged
merged 2 commits into from
Nov 22, 2024

Conversation

vtjnash
Copy link
Member

@vtjnash vtjnash commented Nov 20, 2024

Only temporarily root objects during codegen, so that it is the responsibility of the caller to ensure the values live (including write barriers and old generations) only as long as necessary for correct execution, and not preserve values that never make it into the IR.

Only temporarily root objects during codegen, so that it is the
responsibility of the caller to ensure the values live (including write
barriers and old generations) only as long as necessary for correct
execution, and not preserve values that never make it into the IR.
@vtjnash vtjnash added the compiler:codegen Generation of LLVM IR and native code label Nov 20, 2024
@vtjnash vtjnash merged commit 7354be3 into master Nov 22, 2024
4 of 7 checks passed
@vtjnash vtjnash deleted the jn/codegen-temp-roots branch November 22, 2024 19:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compiler:codegen Generation of LLVM IR and native code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant