Skip to content

Conversation

@larskanis
Copy link
Collaborator

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.

larskanis and others added 6 commits March 29, 2023 07:27
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.
They are not likely to be promoted to old generation, but it can be allowed without any effort.
Also fix a double usage of notice_receiver and notice_processor VALUEs that was introduced in commit d9a9297 9 years ago.
This didn't show up, since no one uses both notice_receiver and notice_processor at the same connection.
@larskanis larskanis merged commit 6bc2028 into ged:master Mar 29, 2023
@larskanis larskanis deleted the write-barrier branch March 31, 2023 12:55
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.

1 participant