mirror of
https://github.com/corda/corda.git
synced 2025-01-21 03:55:00 +00:00
protect local variable from GC in findUnwindTarget
This commit is contained in:
parent
0298865efa
commit
e4c1f6cc8f
@ -1085,6 +1085,8 @@ findUnwindTarget(MyThread* t, void** targetIp, void** targetBase,
|
||||
object node = findTraceNode(t, ip);
|
||||
if (node) {
|
||||
object method = traceNodeMethod(t, node);
|
||||
PROTECT(t, method);
|
||||
|
||||
uint8_t* compiled = reinterpret_cast<uint8_t*>
|
||||
(&singletonValue(t, methodCompiled(t, method), 0));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user