diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2017-05-04 10:32:01 -0300 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2017-05-04 10:32:01 -0300 |
| commit | 2376eb634751f92e6bcb9dc8dbc1ef88b9873319 (patch) | |
| tree | 579780bc7ff3d1374a701298749eca3634a17edb /lstate.c | |
| parent | 8634b2a0119e698e362fdb765f30258e79e1dfd0 (diff) | |
| download | lua-2376eb634751f92e6bcb9dc8dbc1ef88b9873319.tar.gz lua-2376eb634751f92e6bcb9dc8dbc1ef88b9873319.tar.bz2 lua-2376eb634751f92e6bcb9dc8dbc1ef88b9873319.zip | |
barrier for prototype's cache (with new gray list 'protogray' to keep
prototypes to have their caches visited again) + constant 'MAXMISS'
Diffstat (limited to 'lstate.c')
| -rw-r--r-- | lstate.c | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: lstate.c,v 2.137 2017/04/12 18:56:25 roberto Exp roberto $ | 2 | ** $Id: lstate.c,v 2.138 2017/04/24 16:59:26 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 | */ |
| @@ -324,7 +324,7 @@ LUA_API lua_State *lua_newstate (lua_Alloc f, void *ud) { | |||
| 324 | g->finobjsur = g->finobjold = g->finobjrold = NULL; | 324 | g->finobjsur = g->finobjold = g->finobjrold = NULL; |
| 325 | g->sweepgc = NULL; | 325 | g->sweepgc = NULL; |
| 326 | g->gray = g->grayagain = NULL; | 326 | g->gray = g->grayagain = NULL; |
| 327 | g->weak = g->ephemeron = g->allweak = NULL; | 327 | g->weak = g->ephemeron = g->allweak = g->protogray = NULL; |
| 328 | g->twups = NULL; | 328 | g->twups = NULL; |
| 329 | g->totalbytes = sizeof(LG); | 329 | g->totalbytes = sizeof(LG); |
| 330 | g->GCdebt = 0; | 330 | g->GCdebt = 0; |
