stgi-1.0.1: Educational implementation of the STG (Spineless Tagless G-machine)

Safe HaskellNone
LanguageHaskell2010

Stg.Machine.GarbageCollection

Contents

Description

Remove unused heap objects.

Synopsis

Documentation

Algorithms

triStateTracing :: GarbageCollectionAlgorithm Source

Remove all unused addresses, without moving the others.

twoSpaceCopying :: GarbageCollectionAlgorithm Source

Remove all unused addresses by moving them to a safe location.