summaryrefslogtreecommitdiff
path: root/include/ruby/internal/encoding
diff options
context:
space:
mode:
authorPeter Zhu <peter@peterzhu.ca>2022-02-15 09:57:33 -0500
committerPeter Zhu <peter@peterzhu.ca>2022-02-16 09:50:29 -0500
commit969ad5802dfe60c254f2f30514233b05ece8049c (patch)
tree845ddf4da9c1472ff73f5c0ed7a27b704260ea17 /include/ruby/internal/encoding
parent71afa8164d40f18306fc2ee5a1ccc74f2926379b (diff)
Change feature_index from fake Array to darray
Using a fake (malloc) RArray is not friendly for the garbage collector. Fake RArray does not have a heap page, so it causes Variable Width Allocation to crash when we try to implement it on Arrays. This commit changes feature_index from a RArray to a darray.
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/5546
Diffstat (limited to 'include/ruby/internal/encoding')
0 files changed, 0 insertions, 0 deletions