summaryrefslogtreecommitdiff
path: root/include/ruby
diff options
context:
space:
mode:
authorJohn Hawthorn <john@hawthorn.email>2025-10-30 12:05:25 -0700
committerJohn Hawthorn <john@hawthorn.email>2025-12-04 13:25:45 -0800
commit1d3fe2c382fd543bf12b2e12c2633162ea4b3a0a (patch)
tree853316dc1d4fd4b3c5ce101359347117a2d96a2f /include/ruby
parentde2c2bd60fdce52cc7ba38a25f3e9436442af604 (diff)
Change bmethod defined_ractor to use id instead
When defining a bmethod, we recorded the current Ractor's object in the method. However that was never marked and so could be GC'd and reused by a future Ractor. Instead we can use the Ractor's id, which we expect to be unique forever. Co-authored-by: Luke Gruber <luke.gru@gmail.com>
Diffstat (limited to 'include/ruby')
0 files changed, 0 insertions, 0 deletions