a different option for the GC

This commit is contained in:
Roberto Ierusalimschy
2004-12-13 10:15:11 -02:00
parent a56d889f72
commit c6254dceff
7 changed files with 21 additions and 19 deletions

View File

@@ -1,5 +1,5 @@
/*
** $Id: lstate.h,v 2.8 2004/09/15 20:39:42 roberto Exp roberto $
** $Id: lstate.h,v 2.9 2004/12/06 17:53:42 roberto Exp roberto $
** Global State
** See Copyright Notice in lua.h
*/
@@ -85,7 +85,7 @@ typedef struct global_State {
lu_mem totalbytes; /* number of bytes currently allocated */
lu_mem estimate; /* an estimate of number of bytes actually in use */
lu_mem prevestimate; /* previous estimate */
int stepmul; /* relative `speed' of the GC */
int gcpace; /* relative `speed' of the GC */
int incgc; /* 0 if GC is done non-incrementally */
lua_CFunction panic; /* to be called in unprotected errors */
TValue _registry;