diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2017-02-23 18:07:34 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2017-02-23 18:07:34 -0300 |
commit | f5f3df3bd17fb3489bbd26ab39fe1580a8dbf9c9 (patch) | |
tree | 84f67f71a728bc988661349c361f2a968b1d4910 /lstate.c | |
parent | e6c1e6005a9346d378e004a6d6e7fd98c7ee191b (diff) | |
download | lua-f5f3df3bd17fb3489bbd26ab39fe1580a8dbf9c9.tar.gz lua-f5f3df3bd17fb3489bbd26ab39fe1580a8dbf9c9.tar.bz2 lua-f5f3df3bd17fb3489bbd26ab39fe1580a8dbf9c9.zip |
generational collection: new attempt (still incomplete)
Diffstat (limited to 'lstate.c')
-rw-r--r-- | lstate.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lstate.c,v 2.132 2015/11/02 16:01:41 roberto Exp roberto $ | 2 | ** $Id: lstate.c,v 2.133 2015/11/13 12:16:51 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 | */ |
@@ -319,6 +319,7 @@ LUA_API lua_State *lua_newstate (lua_Alloc f, void *ud) { | |||
319 | g->gcstate = GCSpause; | 319 | g->gcstate = GCSpause; |
320 | g->gckind = KGC_NORMAL; | 320 | g->gckind = KGC_NORMAL; |
321 | g->allgc = g->finobj = g->tobefnz = g->fixedgc = NULL; | 321 | g->allgc = g->finobj = g->tobefnz = g->fixedgc = NULL; |
322 | g->survival = g->old = NULL; | ||
322 | g->sweepgc = NULL; | 323 | g->sweepgc = NULL; |
323 | g->gray = g->grayagain = NULL; | 324 | g->gray = g->grayagain = NULL; |
324 | g->weak = g->ephemeron = g->allweak = NULL; | 325 | g->weak = g->ephemeron = g->allweak = NULL; |