summaryrefslogtreecommitdiff
path: root/complex.c
diff options
context:
space:
mode:
authorKoichi Sasada <ko1@atdot.net>2020-10-21 13:53:46 +0900
committerKoichi Sasada <ko1@atdot.net>2020-10-21 16:15:22 +0900
commitb59077eecf912a16efefc0256f6e94a000ce3888 (patch)
treea1e4c2c6326c7576bab66f724075905c6151ffa5 /complex.c
parent4640c4ea8a693a9a8468251135afff837904a3a5 (diff)
Ractor-safe rb_objspace_reachable_objects_from
rb_objspace_reachable_objects_from(obj) is used to traverse all reachable objects from obj. This function modify objspace but it is not ractor-safe (thread-safe). This patch fix the problem. Strategy: (1) call GC mark process during_gc (2) call Ractor-local custom mark func when !during_gc
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/3680
Diffstat (limited to 'complex.c')
0 files changed, 0 insertions, 0 deletions