aboutsummaryrefslogtreecommitdiff
path: root/lstate.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2017-05-04 10:32:01 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2017-05-04 10:32:01 -0300
commit2376eb634751f92e6bcb9dc8dbc1ef88b9873319 (patch)
tree579780bc7ff3d1374a701298749eca3634a17edb /lstate.c
parent8634b2a0119e698e362fdb765f30258e79e1dfd0 (diff)
downloadlua-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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lstate.c b/lstate.c
index 653c90f2..3bce076d 100644
--- a/lstate.c
+++ b/lstate.c
@@ -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;