mirror of
https://github.com/corda/corda.git
synced 2025-01-07 13:38:47 +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)
|
postCollect(Thread* t)
|
||||||
{
|
{
|
||||||
#ifdef VM_STRESS
|
#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->defaultHeap = static_cast<uintptr_t*>
|
||||||
(t->allocator.allocate(Thread::HeapSizeInBytes));
|
(t->m->heap->allocate(Thread::HeapSizeInBytes, false));
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
t->heap = t->defaultHeap;
|
t->heap = t->defaultHeap;
|
||||||
|
Loading…
Reference in New Issue
Block a user