Simpler control for major collections
This commit is contained in:
8
lgc.h
8
lgc.h
@@ -141,14 +141,6 @@
|
||||
#define LUAI_GCSTEPSIZE 8 /* 256 objects */
|
||||
|
||||
|
||||
/*
|
||||
** Check whether the declared GC mode is generational. While in
|
||||
** generational mode, the collector can go temporarily to incremental
|
||||
** mode to improve performance. This is signaled by 'g->lastatomic != 0'.
|
||||
*/
|
||||
#define isdecGCmodegen(g) (g->gckind == KGC_GEN || g->lastatomic != 0)
|
||||
|
||||
|
||||
/*
|
||||
** Control when GC is running:
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user