add RUBY_DEBUG_LOG fo each_machine_stack_value

This commit is contained in:
Koichi Sasada 2023-03-31 17:18:02 +09:00
parent a57270a848
commit 66755164aa
Notes: git 2023-03-31 08:28:17 +00:00

1
gc.c
View File

@ -6875,6 +6875,7 @@ each_machine_stack_value(const rb_execution_context_t *ec, void (*cb)(rb_objspac
VALUE *stack_start, *stack_end;
GET_STACK_BOUNDS(stack_start, stack_end, 0);
RUBY_DEBUG_LOG("ec->th:%u stack_start:%p stack_end:%p", rb_ec_thread_ptr(ec)->serial, stack_start, stack_end);
each_stack_location(objspace, ec, stack_start, stack_end, cb);
}