diff options
author | John Hawthorn <john@hawthorn.email> | 2019-11-07 14:50:05 -0800 |
---|---|---|
committer | Aaron Patterson <tenderlove@github.com> | 2019-11-08 12:41:05 -0800 |
commit | 3b6954f8b9189f599e1f17636f8667a95ee94193 (patch) | |
tree | 219cedfe41e47690e474922d166c64ab8e2b2550 /tool/mk_builtin_loader.rb | |
parent | 9deca1a3b91271159e164188367f003978737f42 (diff) | |
download | ruby-3b6954f8b9189f599e1f17636f8667a95ee94193.tar.gz |
Fix passing actual object_id to finalizer
Previously we were passing the memory_id. This was broken previously if
compaction was run (which changes the memory_id) and now that object_id
is a monotonically increasing number it was always broken.
This commit fixes this by defering removal from the object_id table
until finalizers have run (for objects with finalizers) and also copying
the SEEN_OBJ_ID flag onto the zombie objects.
Diffstat (limited to 'tool/mk_builtin_loader.rb')
0 files changed, 0 insertions, 0 deletions