summaryrefslogtreecommitdiff
path: root/rts/sm/Scav.h
blob: c755f39a8eb7ecb4f715b0c48fae23cc94603f2a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
/* -----------------------------------------------------------------------------
 *
 * (c) The GHC Team 1998-2008
 *
 * Generational garbage collector: scavenging functions
 *
 * Documentation on the architecture of the Garbage Collector can be
 * found in the online commentary:
 * 
 *   http://ghc.haskell.org/trac/ghc/wiki/Commentary/Rts/Storage/GC
 *
 * ---------------------------------------------------------------------------*/

#ifndef SM_SCAV_H
#define SM_SCAV_H

#include "BeginPrivate.h"

void    scavenge_loop (void);
void    scavenge_mutable_list (bdescr *bd, generation *gen);
void    scavenge_capability_mut_lists (Capability *cap);

#ifdef THREADED_RTS
void    scavenge_loop1 (void);
void    scavenge_mutable_list1 (bdescr *bd, generation *gen);
void    scavenge_capability_mut_Lists1 (Capability *cap);
#endif

#include "EndPrivate.h"

#endif /* SM_SCAV_H */


// Local Variables:
// mode: C
// fill-column: 80
// indent-tabs-mode: nil
// c-basic-offset: 4
// buffer-file-coding-system: utf-8-unix
// End: