ruby-changes:63977
From: Koichi <ko1@a...>
Date: Mon, 7 Dec 2020 08:28:58 +0900 (JST)
Subject: [ruby-changes:63977] 1d0bf3d8dd (master): log for the beggining of vm_lock_enter
https://git.ruby-lang.org/ruby.git/commit/?id=1d0bf3d8dd From 1d0bf3d8dd8de40d498a7c2784a84aa566d290b9 Mon Sep 17 00:00:00 2001 From: Koichi Sasada <ko1@a...> 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. diff --git a/vm_sync.c b/vm_sync.c index 8eb2cdf..0a14d53 100644 --- a/vm_sync.c +++ b/vm_sync.c @@ -41,6 +41,8 @@ rb_vm_locked_p(void) https://github.com/ruby/ruby/blob/trunk/vm_sync.c#L41 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 v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/