mirror of
https://github.com/corda/corda.git
synced 2025-02-27 11:36:42 +00:00
gc protection bugfix
This commit is contained in:
parent
e76e4ccdf0
commit
223e6bff0f
@ -2141,6 +2141,8 @@ resolveObjectArrayClass(Thread* t, object elementSpec);
|
||||
inline void
|
||||
initClass(Thread* t, object c)
|
||||
{
|
||||
PROTECT(t, c);
|
||||
|
||||
acquire(t, t->vm->classLock);
|
||||
if (classVmFlags(t, c) & NeedInitFlag
|
||||
and (classVmFlags(t, c) & InitFlag) == 0)
|
||||
|
Loading…
x
Reference in New Issue
Block a user