diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2020-07-08 15:36:48 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2020-07-08 15:36:48 -0300 |
commit | 56ec4322817b0e9aef6084c278dcf24fda7bed1c (patch) | |
tree | bd7ef9d481bca24f48289786f9e8f3979518779d /makefile | |
parent | 31b8c2d4380a762d1ed6a7faee74a1d107f86014 (diff) | |
download | lua-56ec4322817b0e9aef6084c278dcf24fda7bed1c.tar.gz lua-56ec4322817b0e9aef6084c278dcf24fda7bed1c.tar.bz2 lua-56ec4322817b0e9aef6084c278dcf24fda7bed1c.zip |
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.
Diffstat (limited to 'makefile')
-rw-r--r-- | makefile | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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. |