From 56ec4322817b0e9aef6084c278dcf24fda7bed1c Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Wed, 8 Jul 2020 15:36:48 -0300 Subject: Change in macro HARDMEMTESTS for testing GC Macro HARDMEMTESTS broke in two: HARDMEMTESTS forces a full GC cycle at every point where the GC can run. New macro EMERGENCYGCTESTS forces an emergency collection at every memory allocation. --- makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'makefile') diff --git a/makefile b/makefile index baa6e673..ecc42919 100644 --- a/makefile +++ b/makefile @@ -40,7 +40,9 @@ CWARNS= $(CWARNSCPP) $(CWARNSC) # Some useful compiler options for internal tests: # -DHARDSTACKTESTS forces a reallocation of the stack at every point where # the stack can be reallocated. -# -DHARDMEMTESTS forces an emergency collection at every single allocation. +# -DHARDMEMTESTS forces a full collection at all points where the collector +# can run. +# -DEMERGENCYGCTESTS forces an emergency collection at every single allocation. # -DEXTERNMEMCHECK removes internal consistency checking of blocks being # deallocated (useful when an external tool like valgrind does the check). # -DMAXINDEXRK=k limits range of constants in RK instruction operands. -- cgit v1.2.3-55-g6feb