diff options
author | Koichi Sasada <[email protected]> | 2020-12-05 05:42:44 +0900 |
---|---|---|
committer | Koichi Sasada <[email protected]> | 2020-12-07 08:28:36 +0900 |
commit | 1d0bf3d8dd8de40d498a7c2784a84aa566d290b9 (patch) | |
tree | 8840320772a4902663f49941908eb2c69295553b /vm_sync.c | |
parent | 554a7180a0aad85bee5cb8ed41d99d16dab304e7 (diff) |
log for the beggining of vm_lock_enter
Before this patch, there is no information to start locking.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/3842
Diffstat (limited to 'vm_sync.c')
-rw-r--r-- | vm_sync.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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(); } |