summaryrefslogtreecommitdiff
path: root/vm_sync.c
diff options
context:
space:
mode:
Diffstat (limited to 'vm_sync.c')
-rw-r--r--vm_sync.c2
1 files changed, 2 insertions, 0 deletions
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();
}