rts: Introduce non-moving heap census
authorBen Gamari <ben@well-typed.com>
Tue, 5 Feb 2019 16:52:13 +0000 (11:52 -0500)
committerBen Gamari <ben@smart-cactus.org>
Wed, 19 Jun 2019 01:41:21 +0000 (21:41 -0400)
commit9a16493d0273d1d89232a5134b2f2ce71016bff2
tree2ce7f000178c2939f0f437c02cf799927ddaf164
parentb77fed86214bb80316e7376586f0d72f944aff06
rts: Introduce non-moving heap census

This introduces a simple census of the non-moving heap (not to be
confused with the heap census used by the heap profiler). This
collects basic heap usage information (number of allocated and free
blocks) which is useful when characterising fragmentation of the
nonmoving heap.
rts/sm/NonMoving.c
rts/sm/NonMovingCensus.c [new file with mode: 0644]
rts/sm/NonMovingCensus.h [new file with mode: 0644]