diff options
| author | Aaron Patterson <tenderlove@ruby-lang.org> | 2020-08-18 17:34:03 -0700 |
|---|---|---|
| committer | Aaron Patterson <aaron.patterson@gmail.com> | 2020-08-18 19:10:51 -0700 |
| commit | 7a58ee9b962ad0072e5213d3512c809048e4eba1 (patch) | |
| tree | f74ee3e8e7b2fd2a1a3d3251a073fad008beae4f /spec/ruby/shared/kernel | |
| parent | 371c051ca885274a9991e216b6ff6b75fb5c7ff9 (diff) | |
Update references when tracing allocations
The allocation tracing code keeps essentially a weak reference to
objects that have been allocated (storing the allocation information
along with the weak ref). Compacting the heap would break references in
this weak map, so the wrong values could be returned.
This commit just updates the values in the weak ref in order to fix the
allocation tracing book keeping
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/3429
Diffstat (limited to 'spec/ruby/shared/kernel')
0 files changed, 0 insertions, 0 deletions
