summaryrefslogtreecommitdiff
path: root/lib/rinda
diff options
context:
space:
mode:
authorAaron Patterson <[email protected]>2020-09-18 10:50:27 -0700
committerAaron Patterson <[email protected]>2020-09-18 12:31:54 -0700
commit1a9dd31910699c7cd69f2a84c94af20eacd5875c (patch)
tree7e5a8225cb2b8697de2d1ccb29333e8f14817398 /lib/rinda
parent6dd257ed1e54f36deb3e33db12ce9131fdea3b90 (diff)
Pin values in the finalizer table
When finalizers run (in `rb_objspace_call_finalizer`) the table is copied to a linked list that is not managed by the GC. If compaction runs, the references in the linked list can go bad. Finalizer table shouldn't be used frequently, so lets pin references in the table so that the linked list in `rb_objspace_call_finalizer` is safe.
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/3556
Diffstat (limited to 'lib/rinda')
0 files changed, 0 insertions, 0 deletions