... | ... | @@ -71,7 +71,7 @@ Where: |
|
|
the closure types are defined in [ClosureTypes.h](/trac/ghc/browser/includes/rts/storage/ClosureTypes.h)[](/trac/ghc/export/HEAD/ghc/includes/rts/storage/ClosureTypes.h), and many of them have corresponding C struct
|
|
|
definitions in [Closures.h](/trac/ghc/browser/includes/rts/storage/Closures.h)[](/trac/ghc/export/HEAD/ghc/includes/rts/storage/Closures.h).
|
|
|
|
|
|
- The *SRT bitmap* field is used to support [garbage collection of CAFs](commentary/rts/storage/gc/ca-fs).
|
|
|
- The *SRT bitmap* field is used to support [garbage collection of CAFs](commentary/rts/storage/gc/CAFs).
|
|
|
|
|
|
- The *layout* field describes the layout of the payload for the garbage collector, and is described in more
|
|
|
detail in [Types of Payload Layout](#TypesofPayloadLayout) below.
|
... | ... | @@ -171,7 +171,7 @@ Static objects have an additional field, called the *static link |
|
|
field*. The static link field is used by the GC to link all the
|
|
|
static objects in a list, and so that it can tell whether it has
|
|
|
visited a particular static object or not - the GC needs to traverse
|
|
|
all the static objects in order to [garbage collect CAFs](commentary/rts/ca-fs).
|
|
|
all the static objects in order to [garbage collect CAFs](commentary/rts/CAFs).
|
|
|
|
|
|
|
|
|
The static link field resides after the normal payload, so that the
|
... | ... | |