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

NFC: encapsulate write barrier fast path emission into a single function #55156

Merged
merged 2 commits into from
Jul 18, 2024

Conversation

d-netto
Copy link
Member

@d-netto d-netto commented Jul 17, 2024

Third-party GCs (e.g. MMTk) will have their own write barrier fast path logic (e.g. may use different bit patterns to define what are young & old objects, etc.).

Let's encapsulate the write-barrier fast emission code into a single function to make more explicit what parts of the late-gc-lowering code must be re-implemented when porting these third-party GCs into Julia.

@d-netto d-netto added the GC Garbage collector label Jul 17, 2024
@d-netto d-netto requested a review from gbaraldi July 17, 2024 19:02
src/llvm-late-gc-lowering.cpp Outdated Show resolved Hide resolved
@d-netto d-netto merged commit 45e10cd into master Jul 18, 2024
6 of 7 checks passed
@d-netto d-netto deleted the dcn-create-cleanup-wb-function branch July 18, 2024 16:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
GC Garbage collector
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants