mirror of
https://github.com/corda/corda.git
synced 2025-01-06 05:04:20 +00:00
fix GC safety bug in jvmFillInStackTrace
This fixes spurious Trace test failures with openjdk-src build.
This commit is contained in:
parent
bfb96ce065
commit
f94157aa38
@ -3502,6 +3502,7 @@ uint64_t jvmFillInStackTrace(Thread* t, uintptr_t* arguments)
|
||||
{
|
||||
GcThrowable* throwable
|
||||
= cast<GcThrowable>(t, *reinterpret_cast<jobject>(arguments[0]));
|
||||
PROTECT(t, throwable);
|
||||
|
||||
object trace = getTrace(t, 2);
|
||||
throwable->setTrace(t, trace);
|
||||
|
Loading…
Reference in New Issue
Block a user