1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

log for the beggining of vm_lock_enter

Before this patch, there is no information to start locking.
This commit is contained in:
Koichi Sasada 2020-12-05 05:42:44 +09:00
parent 554a7180a0
commit 1d0bf3d8dd
Notes: git 2020-12-07 08:29:09 +09:00

View file

@ -41,6 +41,8 @@ rb_vm_locked_p(void)
static void
vm_lock_enter(rb_ractor_t *cr, rb_vm_t *vm, bool locked, unsigned int *lev APPEND_LOCATION_ARGS)
{
RUBY_DEBUG_LOG2(file, line, "start locked:%d", locked);
if (locked) {
ASSERT_vm_locking();
}