summaryrefslogtreecommitdiff
path: root/lstate.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2013-08-30 16:14:26 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2013-08-30 16:14:26 -0300
commit1bf4faec64aca03e1036235e72675f0617124140 (patch)
treedca4218f3085090a27c288ccd11aaf1bdb520905 /lstate.h
parent8ef9e8460e775793f760deb28d0c3d10dda31b49 (diff)
downloadlua-1bf4faec64aca03e1036235e72675f0617124140.tar.gz
lua-1bf4faec64aca03e1036235e72675f0617124140.tar.bz2
lua-1bf4faec64aca03e1036235e72675f0617124140.zip
new GC state to sweep 'localgc' list + small changes in sweep control
Diffstat (limited to 'lstate.h')
-rw-r--r--lstate.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/lstate.h b/lstate.h
index e0aed2d9..e03b75f2 100644
--- a/lstate.h
+++ b/lstate.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lstate.h,v 2.90 2013/08/26 12:41:10 roberto Exp roberto $ 2** $Id: lstate.h,v 2.91 2013/08/27 18:53:35 roberto Exp roberto $
3** Global State 3** Global State
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -122,8 +122,7 @@ typedef struct global_State {
122 GCObject *allgc; /* list of all collectable objects */ 122 GCObject *allgc; /* list of all collectable objects */
123 GCObject *localgc; /* list of local objects */ 123 GCObject *localgc; /* list of local objects */
124 GCObject *finobj; /* list of collectable objects with finalizers */ 124 GCObject *finobj; /* list of collectable objects with finalizers */
125 GCObject **sweepgc; /* current position of sweep in list 'allgc' */ 125 GCObject **sweepgc; /* current position of sweep in list */
126 GCObject **sweepfin; /* current position of sweep in list 'finobj' */
127 GCObject *gray; /* list of gray objects */ 126 GCObject *gray; /* list of gray objects */
128 GCObject *grayagain; /* list of objects to be traversed atomically */ 127 GCObject *grayagain; /* list of objects to be traversed atomically */
129 GCObject *weak; /* list of tables with weak values */ 128 GCObject *weak; /* list of tables with weak values */