summaryrefslogtreecommitdiff
path: root/spec/ruby/shared/string
diff options
context:
space:
mode:
authorAaron Patterson <tenderlove@ruby-lang.org>2020-08-18 17:34:03 -0700
committerAaron Patterson <aaron.patterson@gmail.com>2020-08-18 19:10:51 -0700
commit7a58ee9b962ad0072e5213d3512c809048e4eba1 (patch)
treef74ee3e8e7b2fd2a1a3d3251a073fad008beae4f /spec/ruby/shared/string
parent371c051ca885274a9991e216b6ff6b75fb5c7ff9 (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/string')
0 files changed, 0 insertions, 0 deletions