Commit 97d59db5 authored by Daniel Gröber (dxld)'s avatar Daniel Gröber (dxld) Committed by Marge Bot

rts: Fix need_prealloc being reset when retainer profiling is on

parent 1183ae94
Pipeline #15576 failed with stages
in 488 minutes and 26 seconds
......@@ -874,7 +874,7 @@ GarbageCollect (uint32_t collect_gen,
need_prealloc += arenaBlocks();
#if defined(PROFILING)
if (RtsFlags.ProfFlags.doHeapProfile == HEAP_BY_RETAINER) {
need_prealloc = retainerStackBlocks();
need_prealloc += retainerStackBlocks();
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment