mirror of
https://github.com/corda/corda.git
synced 2025-01-07 13:38:47 +00:00
initialize body of exception handler table for GC safety
This commit is contained in:
parent
7dcd109567
commit
1cb9d0327a
@ -3627,7 +3627,7 @@ translateExceptionHandlerTable(MyThread* t, Compiler* c, object code,
|
|||||||
object newIndex = makeIntArray(t, length * 3, false);
|
object newIndex = makeIntArray(t, length * 3, false);
|
||||||
PROTECT(t, newIndex);
|
PROTECT(t, newIndex);
|
||||||
|
|
||||||
object newTable = makeArray(t, length + 1, false);
|
object newTable = makeArray(t, length + 1, true);
|
||||||
PROTECT(t, newTable);
|
PROTECT(t, newTable);
|
||||||
|
|
||||||
set(t, newTable, ArrayBody, newIndex);
|
set(t, newTable, ArrayBody, newIndex);
|
||||||
|
Loading…
Reference in New Issue
Block a user