From 1d0bf3d8dd8de40d498a7c2784a84aa566d290b9 Mon Sep 17 00:00:00 2001 From: Koichi Sasada Date: Sat, 5 Dec 2020 05:42:44 +0900 Subject: log for the beggining of vm_lock_enter Before this patch, there is no information to start locking. --- vm_sync.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vm_sync.c b/vm_sync.c index 8eb2cdf1e9..0a14d5394c 100644 --- a/vm_sync.c +++ b/vm_sync.c @@ -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(); } -- cgit v1.2.3