mirror of
https://github.com/corda/corda.git
synced 2025-01-09 06:23:04 +00:00
GC safety bugfix
This commit is contained in:
parent
80d3a286d1
commit
5a0e00ca39
@ -200,8 +200,8 @@ Avian_avian_SystemClassLoader_defineClass
|
|||||||
t->m->heap->free(buffer, length);
|
t->m->heap->free(buffer, length);
|
||||||
|
|
||||||
if (c) {
|
if (c) {
|
||||||
|
PROTECT(t, c);
|
||||||
if (getClassLoaderMap(t, loader) == 0) {
|
if (getClassLoaderMap(t, loader) == 0) {
|
||||||
PROTECT(t, c);
|
|
||||||
object map = makeHashMap(t, 0, 0);
|
object map = makeHashMap(t, 0, 0);
|
||||||
set(t, loader, ClassLoaderMap, map);
|
set(t, loader, ClassLoaderMap, map);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user