Files
Luke Gruber 41d79e8456 Fix GC compaction re-embedding for arrays and strings
Don't re-embed after compaction for these types if they are pinned because if these objects
aren't embedded we want to keep their xmalloc's backing storage intact so that RARRAY_PTR
and RSTRING_PTR don't point to freed memory across a compaction event. If the object is pinned
we want to be able to trust that these pointers can't go stale across an allocation.

Fixes [Bug #22237] (Backport 4.0)
2026-08-11 14:52:04 -07:00
..