Haskell

Channable – Lessons in Managing Haskell Memory

Illustration of the Haskell GC overview

The Haskell runtime system employs a generational garbage collector (GC) with two generations2. Generations are numbered starting with the youngest generation at zero. Values are always allocated in a special part of the youngest generation called the nursery. During collections, values are promoted to the next higher generation if they are still used by then. The youngest generation is divided into two steps: values remain in the youngest generation for one additional step before getting promoted, called a

Source: Channable – Lessons in Managing Haskell Memory

Leave a Reply

Your email address will not be published. Required fields are marked *

Aasemoon © 1992 - 2022
-->