Skip to content

Implementation of freezeProfCounters/unfreezeProfCounters

Luite Stegeman requested to merge luite/ghc:freezeprof2 into master

This is an alternative implementation of #24684, freezeProfCounters / unfreezeProfCounters, the other implementation is !12440

This uses a global prof_counter_increment with value 0 or -1 to increment the memory alloc and entry count counters. The Cmm reads this value before doing a counter increment.

Edited by Luite Stegeman

Merge request reports