summaryrefslogtreecommitdiff
path: root/vm.c
diff options
context:
space:
mode:
authorKoichi Sasada <ko1@atdot.net>2020-12-19 06:38:58 +0900
committerKoichi Sasada <ko1@atdot.net>2020-12-22 00:03:00 +0900
commita2950369bd8a5866092f6badf59b0811653a6092 (patch)
treeb8933f0f3f87618c04290e420222daef3a63e68d /vm.c
parentc7a5cc2c3098ea74343a0dbab36b3a65bc7a4144 (diff)
TracePoint.new(&block) should be ractor-local
TracePoint should be ractor-local because the Proc can violate the Ractor-safe.
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/3943
Diffstat (limited to 'vm.c')
-rw-r--r--vm.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/vm.c b/vm.c
index 9ed358f73d..5fc0338334 100644
--- a/vm.c
+++ b/vm.c
@@ -2588,8 +2588,6 @@ rb_vm_mark(void *ptr)
rb_mark_tbl(vm->loading_table);
}
- rb_hook_list_mark(&vm->global_hooks);
-
rb_gc_mark_values(RUBY_NSIG, vm->trap_list.cmd);
rb_id_table_foreach_values(vm->negative_cme_table, vm_mark_negative_cme, NULL);