mirror of
https://github.com/ProgramSnail/Lama.git
synced 2025-12-06 14:58:50 +00:00
turn off debug print and restore default heap size
This commit is contained in:
parent
72480fc897
commit
c0c18e3aa2
1 changed files with 3 additions and 3 deletions
|
|
@ -18,7 +18,7 @@
|
||||||
|
|
||||||
# define WORD_SIZE (CHAR_BIT * sizeof(int))
|
# define WORD_SIZE (CHAR_BIT * sizeof(int))
|
||||||
|
|
||||||
# define DEBUG_PRINT 1
|
/* # define DEBUG_PRINT 1 */
|
||||||
|
|
||||||
/* GC pool structure and data; declared here in order to allow debug print */
|
/* GC pool structure and data; declared here in order to allow debug print */
|
||||||
typedef struct {
|
typedef struct {
|
||||||
|
|
@ -1171,8 +1171,8 @@ extern void __gc_root_scan_stack ();
|
||||||
/* Mark-and-copy */
|
/* Mark-and-copy */
|
||||||
/* ======================================== */
|
/* ======================================== */
|
||||||
|
|
||||||
static size_t SPACE_SIZE = 32;
|
// static size_t SPACE_SIZE = 32;
|
||||||
// static size_t SPACE_SIZE = 32 * 1024 * 100;
|
static size_t SPACE_SIZE = 32 * 1024 * 100;
|
||||||
// static size_t SPACE_SIZE = 128;
|
// static size_t SPACE_SIZE = 128;
|
||||||
// static size_t SPACE_SIZE = 1024 * 1024;
|
// static size_t SPACE_SIZE = 1024 * 1024;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue