summaryrefslogtreecommitdiff
path: root/version.h
diff options
context:
space:
mode:
authorAaron Patterson <tenderlove@ruby-lang.org>2020-01-28 16:33:04 -0800
committerAaron Patterson <tenderlove@ruby-lang.org>2020-05-20 11:16:21 -0700
commit891e253ee71fc5196ef4b4ba4718a16bbe858499 (patch)
treed7f96a43446910d921632b144a38e454208bcb4d /version.h
parentff58cbce94aaa001a262e6a4abc57f85113331be (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