diff options
author | Aaron Patterson <tenderlove@ruby-lang.org> | 2020-01-28 16:33:04 -0800 |
---|---|---|
committer | Aaron Patterson <tenderlove@ruby-lang.org> | 2020-05-20 11:16:21 -0700 |
commit | 891e253ee71fc5196ef4b4ba4718a16bbe858499 (patch) | |
tree | d7f96a43446910d921632b144a38e454208bcb4d /version.h | |
parent | ff58cbce94aaa001a262e6a4abc57f85113331be (diff) |
Use a pinning list for keeping objects alive during assembly.
The GC will not disassemble incomplete instruction sequences. So it is
important that when instructions are being assembled, any objects the
instructions point at should not be moved.
This patch implements a fixed width array that pins its references.
When the instructions are done being assembled, the pinning array goes
away and the objects inside the iseqs are allowed to move.
Diffstat (limited to 'version.h')
0 files changed, 0 insertions, 0 deletions