mirror of
https://github.com/corda/corda.git
synced 2025-01-22 12:28:11 +00:00
Merge pull request #326 from dicej/gc-jvmfillinstacktrace
fix GC safety bug in jvmFillInStackTrace
This commit is contained in:
commit
62983ebd7a
@ -3502,6 +3502,7 @@ uint64_t jvmFillInStackTrace(Thread* t, uintptr_t* arguments)
|
|||||||
{
|
{
|
||||||
GcThrowable* throwable
|
GcThrowable* throwable
|
||||||
= cast<GcThrowable>(t, *reinterpret_cast<jobject>(arguments[0]));
|
= cast<GcThrowable>(t, *reinterpret_cast<jobject>(arguments[0]));
|
||||||
|
PROTECT(t, throwable);
|
||||||
|
|
||||||
object trace = getTrace(t, 2);
|
object trace = getTrace(t, 2);
|
||||||
throwable->setTrace(t, trace);
|
throwable->setTrace(t, trace);
|
||||||
|
Loading…
Reference in New Issue
Block a user