зеркало из https://github.com/github/ruby.git
log for the beggining of vm_lock_enter
Before this patch, there is no information to start locking.
This commit is contained in:
Родитель
554a7180a0
Коммит
1d0bf3d8dd
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче