mirror of
https://github.com/corda/corda.git
synced 2025-01-06 05:04:20 +00:00
fix build breakage in stress mode
This commit is contained in:
parent
c3ce201a59
commit
73ba3fcef7
@ -482,9 +482,9 @@ void
|
||||
postCollect(Thread* t)
|
||||
{
|
||||
#ifdef VM_STRESS
|
||||
t->allocator.free(t->defaultHeap, Thread::HeapSizeInBytes);
|
||||
t->m->heap->free(t->defaultHeap, Thread::HeapSizeInBytes, false);
|
||||
t->defaultHeap = static_cast<uintptr_t*>
|
||||
(t->allocator.allocate(Thread::HeapSizeInBytes));
|
||||
(t->m->heap->allocate(Thread::HeapSizeInBytes, false));
|
||||
#endif
|
||||
|
||||
t->heap = t->defaultHeap;
|
||||
|
Loading…
Reference in New Issue
Block a user