mirror of
https://github.com/corda/corda.git
synced 2025-01-05 20:54:13 +00:00
preserve vm flags of bootstrap class (except for BootstrapFlag) in updateBootstrapClass()
This commit is contained in:
parent
19d36cc463
commit
16ea75f91c
@ -1854,10 +1854,6 @@ interpret(Thread* t)
|
||||
|
||||
object method = resolveMethod(t, codePool(t, code), index - 1);
|
||||
if (UNLIKELY(exception)) goto throw_;
|
||||
|
||||
fprintf(stderr, "invokevirtual %s.%s\n",
|
||||
&byteArrayBody(t, className(t, methodClass(t, method)), 0),
|
||||
&byteArrayBody(t, methodName(t, method), 0));
|
||||
|
||||
unsigned parameterFootprint = methodParameterFootprint(t, method);
|
||||
if (LIKELY(peekObject(t, sp - parameterFootprint))) {
|
||||
|
@ -1377,7 +1377,8 @@ updateBootstrapClass(Thread* t, object bootstrapClass, object class_)
|
||||
|
||||
ENTER(t, Thread::ExclusiveState);
|
||||
|
||||
classVmFlags(t, bootstrapClass) = classVmFlags(t, class_);
|
||||
classVmFlags(t, bootstrapClass) &= ~BootstrapFlag;
|
||||
classVmFlags(t, bootstrapClass) |= classVmFlags(t, class_);
|
||||
classFlags(t, bootstrapClass) = classFlags(t, class_);
|
||||
|
||||
set(t, bootstrapClass, ClassSuper, classSuper(t, class_));
|
||||
|
@ -29,7 +29,7 @@ const bool Verbose = false;
|
||||
const bool DebugRun = false;
|
||||
const bool DebugStack = false;
|
||||
const bool DebugMonitors = false;
|
||||
const bool DebugReferences = true;
|
||||
const bool DebugReferences = false;
|
||||
|
||||
const uintptr_t HashTakenMark = 1;
|
||||
const uintptr_t ExtendedMark = 2;
|
||||
|
Loading…
Reference in New Issue
Block a user