diff options
author | Damien Doligez <damien.doligez-inria.fr> | 2002-01-18 15:13:26 +0000 |
---|---|---|
committer | Damien Doligez <damien.doligez-inria.fr> | 2002-01-18 15:13:26 +0000 |
commit | 09a8c6bc78f4a84c99b68baef2a1dfb10b8c4a4e (patch) | |
tree | 5af49766e2f79faac1b5cd24b6fe7e3247ed82dc /byterun/config.h | |
parent | e0c8e458d294b4d6bfeafcaba75ebede3dc22b5a (diff) | |
download | ocaml-09a8c6bc78f4a84c99b68baef2a1dfb10b8c4a4e.tar.gz |
configure: suppression "smart preprocessing" pour MacOS X
asmrun/roots.c, byterun/alloc.c, byterun/gc_ctrl.c, byterun/minor_gc.c,
byterun/minor_gc.h, byterun/roots.c, byterun/startup.c:
derecursivation du GC mineur
byterun/config.h, stdlib/gc.mli: compactage active par defaut (300%)
otherlibs/unix/select.c: ajout include MacOS X
.cvsignore: bricoles
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4264 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'byterun/config.h')
-rw-r--r-- | byterun/config.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/byterun/config.h b/byterun/config.h index 812ab88cc6..13276a1972 100644 --- a/byterun/config.h +++ b/byterun/config.h @@ -124,11 +124,12 @@ typedef uint64 int64; /* Default speed setting for the major GC. The heap will grow until the dead objects and the free list represent this percentage of the - heap size. The rest of the heap is live objects. */ + total size of live objects. */ #define Percent_free_def 42 -/* Default setting for the compacter: off */ -#define Max_percent_free_def 1000000 +/* Default setting for the compacter: 300% + (i.e. trigger the compacter when 3/4 of the heap is free) */ +#define Max_percent_free_def 300 #endif /* _config_ */ |