aboutsummaryrefslogtreecommitdiff
path: root/lgc.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2022-11-29 10:37:08 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2022-11-29 10:37:08 -0300
commitd324a0ccf9e2511baf182dd981a8ee9835cee925 (patch)
tree7cb36618c0cbafb4a0216a117fd25a78250991a5 /lgc.h
parent152b51955aabb9dfb32302569fac810e999eda03 (diff)
downloadlua-d324a0ccf9e2511baf182dd981a8ee9835cee925.tar.gz
lua-d324a0ccf9e2511baf182dd981a8ee9835cee925.tar.bz2
lua-d324a0ccf9e2511baf182dd981a8ee9835cee925.zip
Simpler control for major collections
Diffstat (limited to 'lgc.h')
-rw-r--r--lgc.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/lgc.h b/lgc.h
index a4c54b47..3c871969 100644
--- a/lgc.h
+++ b/lgc.h
@@ -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 */