aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lmem.c2
-rw-r--r--makefile4
2 files changed, 4 insertions, 2 deletions
diff --git a/lmem.c b/lmem.c
index 65bfa524..43739bff 100644
--- a/lmem.c
+++ b/lmem.c
@@ -22,7 +22,7 @@
22#include "lstate.h" 22#include "lstate.h"
23 23
24 24
25#if defined(HARDMEMTESTS) 25#if defined(EMERGENCYGCTESTS)
26/* 26/*
27** First allocation will fail whenever not building initial state 27** First allocation will fail whenever not building initial state
28** and not shrinking a block. (This fail will trigger 'tryagain' and 28** and not shrinking a block. (This fail will trigger 'tryagain' and
diff --git a/makefile b/makefile
index baa6e673..ecc42919 100644
--- a/makefile
+++ b/makefile
@@ -40,7 +40,9 @@ CWARNS= $(CWARNSCPP) $(CWARNSC)
40# Some useful compiler options for internal tests: 40# Some useful compiler options for internal tests:
41# -DHARDSTACKTESTS forces a reallocation of the stack at every point where 41# -DHARDSTACKTESTS forces a reallocation of the stack at every point where
42# the stack can be reallocated. 42# the stack can be reallocated.
43# -DHARDMEMTESTS forces an emergency collection at every single allocation. 43# -DHARDMEMTESTS forces a full collection at all points where the collector
44# can run.
45# -DEMERGENCYGCTESTS forces an emergency collection at every single allocation.
44# -DEXTERNMEMCHECK removes internal consistency checking of blocks being 46# -DEXTERNMEMCHECK removes internal consistency checking of blocks being
45# deallocated (useful when an external tool like valgrind does the check). 47# deallocated (useful when an external tool like valgrind does the check).
46# -DMAXINDEXRK=k limits range of constants in RK instruction operands. 48# -DMAXINDEXRK=k limits range of constants in RK instruction operands.