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

Ruby: Implement Write Barriers #11793

Commits on Feb 14, 2023

  1. Ruby: Implement Write Barriers

    Write barrier protected objects are allowed to be promoted to the
    old generation, which means they only get marked on major GC.
    
    The downside is that the `RB_BJ_WRITE` macro MUST be used to set
    references, otherwise the referenced object may be garbaged collected.
    
    But the `*Descriptor` classes and `Arena` have very few references
    and are only set in a few places, so it's relatively easy to implement.
    byroot committed Feb 14, 2023
    Configuration menu
    Copy the full SHA
    215e8fa View commit details
    Browse the repository at this point in the history