Skip to content

Enable write barrier protection on Resource#469

Merged
casperisfine merged 1 commit into
masterfrom
resource-write-barrier
Feb 3, 2023
Merged

Enable write barrier protection on Resource#469
casperisfine merged 1 commit into
masterfrom
resource-write-barrier

Conversation

@casperisfine

Copy link
Copy Markdown
Contributor

Resources are not holding any references to Ruby objects as such they can be marked as WB protected without any change.

This mean the Ruby garbage collect won't have to mark them on minor GC runs if the resource was promoted to oldgen.

Resources are not holding any references to Ruby objects
as such they can be marked as WB protected without any change.

This mean the Ruby garbage collect won't have to mark them
on minor GC runs if the resource was promoted to oldgen.
@casperisfine
casperisfine merged commit 7e39ed6 into master Feb 3, 2023
@casperisfine
casperisfine deleted the resource-write-barrier branch February 3, 2023 14:32
@miry miry mentioned this pull request Feb 6, 2023
9 tasks
@casperisfine casperisfine mentioned this pull request Apr 3, 2023
40 tasks
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.

3 participants