aboutsummaryrefslogtreecommitdiff
path: root/lstate.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2010-03-25 16:37:23 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2010-03-25 16:37:23 -0300
commit5c87f61e6b1567400d2bd8f452939bb948f16dda (patch)
tree1d0944372d58c5dab9f7271c3c3b1a70fe0be0d3 /lstate.c
parent3aa95981779aa8144da11f328a25bf79bd141c41 (diff)
downloadlua-5c87f61e6b1567400d2bd8f452939bb948f16dda.tar.gz
lua-5c87f61e6b1567400d2bd8f452939bb948f16dda.tar.bz2
lua-5c87f61e6b1567400d2bd8f452939bb948f16dda.zip
major collections in generational mode
Diffstat (limited to 'lstate.c')
-rw-r--r--lstate.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lstate.c b/lstate.c
index 02554c4d..b00b62a1 100644
--- a/lstate.c
+++ b/lstate.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lstate.c,v 2.72 2010/03/24 13:07:01 roberto Exp roberto $ 2** $Id: lstate.c,v 2.73 2010/03/25 13:06:36 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*/
@@ -254,6 +254,7 @@ LUA_API lua_State *lua_newstate (lua_Alloc f, void *ud) {
254 g->uvhead.u.l.prev = &g->uvhead; 254 g->uvhead.u.l.prev = &g->uvhead;
255 g->uvhead.u.l.next = &g->uvhead; 255 g->uvhead.u.l.next = &g->uvhead;
256 g->GCthreshold = MAX_LUMEM; /* no GC while building state */ 256 g->GCthreshold = MAX_LUMEM; /* no GC while building state */
257 g->lastmajormem = 0;
257 g->strt.size = 0; 258 g->strt.size = 0;
258 g->strt.nuse = 0; 259 g->strt.nuse = 0;
259 g->strt.hash = NULL; 260 g->strt.hash = NULL;