core: Increase GC safety.

* mes.c (GC_SAFETY): Set to 1000 cells (WAS: 100).
* scaffold/mini-mes.c (GC_SAFETY): Likewise.
This commit is contained in:
Jan Nieuwenhuizen 2017-04-01 16:51:48 +02:00
parent 28347aa3a3
commit 28fd45b7b0
2 changed files with 2 additions and 2 deletions

2
mes.c
View file

@ -43,7 +43,7 @@ typedef int bool;
int ARENA_SIZE = 100000;
int MAX_ARENA_SIZE = 20000000;
int GC_SAFETY = 100;
int GC_SAFETY = 1000;
typedef int SCM;
enum type_t {TCHAR, TCLOSURE, TCONTINUATION, TFUNCTION, TKEYWORD, TMACRO, TNUMBER, TPAIR, TREF, TSPECIAL, TSTRING, TSYMBOL, TVALUES, TVECTOR, TBROKEN_HEART};

View file

@ -33,7 +33,7 @@ int ARENA_SIZE = 100000;
int ARENA_SIZE = 1000000000;
#endif
int MAX_ARENA_SIZE = 20000000;
int GC_SAFETY = 5000;
int GC_SAFETY = 1000;
char *arena = 0;