diff options
author | Damien Doligez <damien.doligez-inria.fr> | 2002-05-28 16:57:31 +0000 |
---|---|---|
committer | Damien Doligez <damien.doligez-inria.fr> | 2002-05-28 16:57:31 +0000 |
commit | 3b358c7349c2ac9f90c91c0793483214b93dcb20 (patch) | |
tree | 8095ad017cdd0578b94ae84ab89eb2cda61fd63b /byterun/config.h | |
parent | db702a9f3148e43978dcbeb975a3ff0c5067722c (diff) |
fix declenchement du compactage
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4854 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'byterun/config.h')
-rw-r--r-- | byterun/config.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/byterun/config.h b/byterun/config.h index ee6a9d162..ef44dc993 100644 --- a/byterun/config.h +++ b/byterun/config.h @@ -140,9 +140,12 @@ typedef struct { uint32 l, h; } uint64, int64; total size of live objects. */ #define Percent_free_def 42 -/* 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 +/* Default setting for the compacter: 500% + (i.e. trigger the compacter when 5/6 of the heap is free or garbage) + This can be set quite high because the overhead is over-estimated + when fragmentation occurs. + */ +#define Max_percent_free_def 500 #endif /* _config_ */ |