diff options
author | John Hawthorn <[email protected]> | 2019-11-07 14:50:05 -0800 |
---|---|---|
committer | Aaron Patterson <[email protected]> | 2019-11-08 12:41:05 -0800 |
commit | 3b6954f8b9189f599e1f17636f8667a95ee94193 () | |
tree | 219cedfe41e47690e474922d166c64ab8e2b2550 /builtin.c | |
parent | 9deca1a3b91271159e164188367f003978737f42 (diff) |
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.
Notes: Merged: https://.com/ruby/ruby/pull/2658
0 files changed, 0 insertions, 0 deletions