mirror of
https://github.com/corda/corda.git
synced 2025-01-05 20:54:13 +00:00
limit scope of lock acquisition in compileMethod2
This commit is contained in:
parent
2dba75d7f2
commit
3fb90fdaa4
@ -3979,9 +3979,9 @@ compileMethod2(MyThread* t)
|
||||
(t, resolveThisPointer(t, t->stack, target)), methodOffset(t, target))
|
||||
= &singletonValue(t, methodCompiled(t, target), 0);
|
||||
} else {
|
||||
ACQUIRE(t, t->m->classLock);
|
||||
|
||||
removeCallNode(t, node);
|
||||
{ ACQUIRE(t, t->m->classLock);
|
||||
removeCallNode(t, node);
|
||||
}
|
||||
|
||||
Context context(t);
|
||||
context.c->updateCall
|
||||
|
Loading…
Reference in New Issue
Block a user