diff options
| author | Koichi Sasada <ko1@atdot.net> | 2023-03-31 17:18:02 +0900 |
|---|---|---|
| committer | Koichi Sasada <ko1@atdot.net> | 2023-03-31 17:27:56 +0900 |
| commit | 66755164aa91ae0ec2712ab159d8acd8fa646574 (patch) | |
| tree | d09042f3d3c2c605ac346459463b7992885defe3 | |
| parent | a57270a8488dc7faaeb9fd62a2c4368a8cb703bf (diff) | |
add `RUBY_DEBUG_LOG` fo `each_machine_stack_value`
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/7636
| -rw-r--r-- | gc.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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); } |
