mirror of
https://github.com/corda/corda.git
synced 2024-12-29 09:18:58 +00:00
Merge pull request #515 from dicej/lambda-fixes-2
initialize MyThread::dynamicTable on thread creation
This commit is contained in:
commit
8ff5f2a26a
@ -1311,10 +1311,6 @@ Allocator* allocator(MyThread* t);
|
||||
|
||||
unsigned addDynamic(MyThread* t, GcInvocation* invocation)
|
||||
{
|
||||
if (t->dynamicTable == nullptr) {
|
||||
t->dynamicTable = dynamicTable(t);
|
||||
}
|
||||
|
||||
ACQUIRE(t, t->m->classLock);
|
||||
|
||||
int index = invocation->index();
|
||||
@ -8828,6 +8824,7 @@ class MyProcessor : public Processor {
|
||||
t->heapImage = heapImage;
|
||||
t->codeImage = codeImage;
|
||||
t->thunkTable = thunkTable;
|
||||
t->dynamicTable = local::dynamicTable(t);
|
||||
|
||||
#if TARGET_BYTES_PER_WORD == BYTES_PER_WORD
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user