Remove unused field on Thread struct
It looks like stat_insn_usage was introduced with YARV, but as far as I can tell the field has never been used. I think we should remove the field since we don't use it.
This commit is contained in:
parent
0a35c5b4d9
commit
3628e9e30d
Notes:
git
2025-04-11 17:28:43 +00:00
1
vm.c
1
vm.c
@ -3498,7 +3498,6 @@ thread_mark(void *ptr)
|
||||
if (th->root_fiber) rb_fiber_mark_self(th->root_fiber);
|
||||
|
||||
RUBY_ASSERT(th->ec == rb_fiberptr_get_ec(th->ec->fiber_ptr));
|
||||
rb_gc_mark(th->stat_insn_usage);
|
||||
rb_gc_mark(th->last_status);
|
||||
rb_gc_mark(th->locking_mutex);
|
||||
rb_gc_mark(th->name);
|
||||
|
Loading…
x
Reference in New Issue
Block a user