diff options
author | Aaron Patterson <tenderlove@ruby-lang.org> | 2020-10-06 13:17:21 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2020-10-06 16:22:01 -0700 |
commit | cdc4084b0a947b87a794394b9cc8cbdb10537146 (patch) | |
tree | ddc6d2f5edb91ea0094d045be2223609c1486cfa /include | |
parent | c839168b1141db53bedef771d1bc78908b6ac782 (diff) |
Prevent objects from moving while iterating the heap
This iterator uses an st_table, but if objects move the references in
the st table won't be updated. This patch just changes the st table to
an identity hash.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/3634
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions