mirror of
https://github.com/corda/corda.git
synced 2025-01-07 13:38:47 +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))
|
(t, resolveThisPointer(t, t->stack, target)), methodOffset(t, target))
|
||||||
= &singletonValue(t, methodCompiled(t, target), 0);
|
= &singletonValue(t, methodCompiled(t, target), 0);
|
||||||
} else {
|
} else {
|
||||||
ACQUIRE(t, t->m->classLock);
|
{ ACQUIRE(t, t->m->classLock);
|
||||||
|
removeCallNode(t, node);
|
||||||
removeCallNode(t, node);
|
}
|
||||||
|
|
||||||
Context context(t);
|
Context context(t);
|
||||||
context.c->updateCall
|
context.c->updateCall
|
||||||
|
Loading…
Reference in New Issue
Block a user