diff options
| author | Peter Zhu <peter@peterzhu.ca> | 2022-12-23 09:33:51 -0500 |
|---|---|---|
| committer | Peter Zhu <peter@peterzhu.ca> | 2022-12-23 11:21:14 -0500 |
| commit | 7891f9407184ca6b4636092555d2546e3830c2ff (patch) | |
| tree | 0f49dff240166db2b96fd5b81fecadf7cbc1e1d0 /include/ruby/missing.h | |
| parent | d61a4cec618b8f5554398fff2ee4656763aeec4e (diff) | |
Don't allow re-embedding frozen arrays
Frozen arrays should not move from heap allocated to embedded because
frozen arrays could be shared roots for other (shared) arrays. If the
frozen array moves from heap allocated to embedded it would cause issues
since the shared array would no longer know where to set the pointer
in the shared root.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/7013
Diffstat (limited to 'include/ruby/missing.h')
0 files changed, 0 insertions, 0 deletions
