diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2022-11-29 10:37:08 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2022-11-29 10:37:08 -0300 |
commit | d324a0ccf9e2511baf182dd981a8ee9835cee925 (patch) | |
tree | 7cb36618c0cbafb4a0216a117fd25a78250991a5 /lgc.h | |
parent | 152b51955aabb9dfb32302569fac810e999eda03 (diff) | |
download | lua-d324a0ccf9e2511baf182dd981a8ee9835cee925.tar.gz lua-d324a0ccf9e2511baf182dd981a8ee9835cee925.tar.bz2 lua-d324a0ccf9e2511baf182dd981a8ee9835cee925.zip |
Simpler control for major collections
Diffstat (limited to 'lgc.h')
-rw-r--r-- | lgc.h | 8 |
1 files changed, 0 insertions, 8 deletions
@@ -142,14 +142,6 @@ | |||
142 | 142 | ||
143 | 143 | ||
144 | /* | 144 | /* |
145 | ** Check whether the declared GC mode is generational. While in | ||
146 | ** generational mode, the collector can go temporarily to incremental | ||
147 | ** mode to improve performance. This is signaled by 'g->lastatomic != 0'. | ||
148 | */ | ||
149 | #define isdecGCmodegen(g) (g->gckind == KGC_GEN || g->lastatomic != 0) | ||
150 | |||
151 | |||
152 | /* | ||
153 | ** Control when GC is running: | 145 | ** Control when GC is running: |
154 | */ | 146 | */ |
155 | #define GCSTPUSR 1 /* bit true when GC stopped by user */ | 147 | #define GCSTPUSR 1 /* bit true when GC stopped by user */ |