mirror of
https://github.com/corda/corda.git
synced 2025-01-31 16:35:43 +00:00
GC safety fix in resolveTarget
This commit is contained in:
parent
f87a78833b
commit
271797bead
@ -71,6 +71,9 @@ resolveTarget(MyThread* t, void* stack, object method)
|
|||||||
(t, reinterpret_cast<object*>(stack)[parameterFootprint]);
|
(t, reinterpret_cast<object*>(stack)[parameterFootprint]);
|
||||||
|
|
||||||
if (classVmFlags(t, class_) & BootstrapFlag) {
|
if (classVmFlags(t, class_) & BootstrapFlag) {
|
||||||
|
PROTECT(t, method);
|
||||||
|
PROTECT(t, class_);
|
||||||
|
|
||||||
resolveClass(t, className(t, class_));
|
resolveClass(t, className(t, class_));
|
||||||
if (UNLIKELY(t->exception)) return 0;
|
if (UNLIKELY(t->exception)) return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user