summaryrefslogtreecommitdiff
path: root/rts/sm/Sweep.h
blob: 25bfef42c3b42d5beae19ebe1cfee3e83664b905 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* -----------------------------------------------------------------------------
 *
 * (c) The GHC Team 2008
 *
 * Simple mark/sweep, collecting whole blocks.
 *
 * Documentation on the architecture of the Garbage Collector can be
 * found in the online commentary:
 * 
 *   https://gitlab.haskell.org/ghc/ghc/wikis/commentary/rts/storage/gc
 *
 * ---------------------------------------------------------------------------*/

#pragma once

RTS_PRIVATE void sweep(generation *gen);