-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathgc.h
94 lines (85 loc) · 2.14 KB
/
gc.h
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
/* Copyright (C) 1999-2008 Henry Cejtin, Matthew Fluet, Suresh
* Jagannathan, and Stephen Weeks.
* Copyright (C) 1997-2000 NEC Research Institute.
*
* MLton is released under a BSD-style license.
* See the file MLton-LICENSE for details.
*/
#ifndef _MLTON_GC_H_
#define _MLTON_GC_H_
#include "platform.h"
struct GC_state;
typedef struct GC_state *GC_state;
typedef GC_state GCState_t;
#if POINTER_BITS == 32
#define GC_MODEL_NATIVE32
#elif POINTER_BITS == 64
#define GC_MODEL_NATIVE64
#else
#error POINTER_BITS not defined
#endif
#include "gc/debug.h"
#include "gc/um_constants.h"
#include "gc/ssleep.h"
#include "gc/heap_predicates.h"
#include "gc/hash_threadid.h"
#include "gc/align.h"
#include "gc/model.h"
#include "gc/pointer.h"
#include "gc/objptr.h"
#include "gc/object.h"
#include "gc/array.h"
#include "gc/frame.h"
#include "gc/umheap.h"
#include "gc/thread.h"
#include "gc/stack.h"
#include "gc/umstack.h"
#include "gc/weak.h"
#include "gc/int-inf.h"
#include "gc/string.h"
#include "gc/object-size.h"
//#include "gc/generational.h"
#include "gc/heap.h"
#include "gc/current.h"
//#include "gc/umarray.h"
#include "gc/dumphex.h"
#include "gc/foreach.h"
#include "gc/dfs-mark.h"
#include "gc/ummark.h"
//#include "gc/translate.h"
#include "gc/sysvals.h"
#include "gc/controls.h"
#include "gc/major.h"
#include "gc/statistics.h"
//#include "gc/forward.h"
//#include "gc/cheney-copy.h"
//#include "gc/hash-cons.h"
//#include "gc/mark-compact.h"
#include "gc/invariant.h"
#include "gc/atomic.h"
#include "gc/enter_leave.h"
#include "gc/signals.h"
#include "gc/handler.h"
#include "gc/switch-thread.h"
#include "gc/garbage-stw.h"
#include "gc/garbage-collection.h"
#include "gc/realtime_thread.h"
#include "gc/new-object.h"
#include "gc/array-allocate.h"
#include "gc/umarray-allocate.h"
#include "gc/sources.h"
#include "gc/profiling.h"
#include "gc/rusage.h"
#include "gc/gc_state.h"
#include "gc/init-world.h"
//#include "gc/world.h"
#include "gc/init.h"
#include "gc/done.h"
#include "gc/copy-thread.h"
#include "gc/pack.h"
#include "gc/size.h"
#include "gc/share.h"
#include "gc/um.h"
#include "gc/um_profile.h"
#include "gc/visualize.h"
#endif /* _MLTON_GC_H_ */