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:
parent
554a7180a0
commit
1d0bf3d8dd
Notes:
git
2020-12-07 08:29:09 +09:00
1 changed files with 2 additions and 0 deletions
|
@ -41,6 +41,8 @@ rb_vm_locked_p(void)
|
||||||
static void
|
static void
|
||||||
vm_lock_enter(rb_ractor_t *cr, rb_vm_t *vm, bool locked, unsigned int *lev APPEND_LOCATION_ARGS)
|
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) {
|
if (locked) {
|
||||||
ASSERT_vm_locking();
|
ASSERT_vm_locking();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue