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

Safe HaskellNone
LanguageHaskell2010

Stg.Machine.GarbageCollection.TwoSpaceCopying

Description

Two space stop-and-copy garbage collector.

  • Compacting: memory is moved to a new location
  • Tracing

Synopsis

Documentation

twoSpaceCopying :: GarbageCollectionAlgorithm Source

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