diff options
author | Matt Valentine-House <matt@eightbitraptor.com> | 2021-11-15 21:09:10 +0000 |
---|---|---|
committer | Peter Zhu <peter@peterzhu.ca> | 2021-11-22 09:11:04 -0500 |
commit | b680b632e5b88e4ea550de3f15cf6ef782efeb48 (patch) | |
tree | 20037c65d61d82f04972af4cf029c36f58074b35 /vm_exec.h | |
parent | fa9fa23ea844047d0d4f83a3864bdb24ecf95646 (diff) | |
download | ruby-b680b632e5b88e4ea550de3f15cf6ef782efeb48.tar.gz |
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
Diffstat (limited to 'vm_exec.h')
0 files changed, 0 insertions, 0 deletions