summaryrefslogtreecommitdiff
path: root/numeric.c
diff options
context:
space:
mode:
authorMatt Valentine-House <[email protected]>2021-11-15 21:09:10 +0000
committerPeter Zhu <[email protected]>2021-11-22 09:11:04 -0500
commitb680b632e5b88e4ea550de3f15cf6ef782efeb48 (patch)
tree20037c65d61d82f04972af4cf029c36f58074b35 /numeric.c
parentfa9fa23ea844047d0d4f83a3864bdb24ecf95646 (diff)
Make RCLASS_EXT(c)->subclasses a doubly linked list
Updating RCLASS_PARENT_SUBCLASSES and RCLASS_MODULE_SUBCLASSES while compacting can trigger the read barrier. This commit makes RCLASS_SUBCLASSES a doubly linked list with a dedicated head object so that we can add and remove entries from the list without having to touch an object in the Ruby heap
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/5125
Diffstat (limited to 'numeric.c')
0 files changed, 0 insertions, 0 deletions