aboutsummaryrefslogtreecommitdiff
path: root/lstate.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2012-05-22 14:50:39 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2012-05-22 14:50:39 -0300
commit086da10dacc9e2b8f7731609f0deec731c854627 (patch)
treed658d3bec0712aee85bb4de1f3324f76595cd3b9 /lstate.h
parentb36b4b521f53e5ff2e18fff3c194d28f9a840868 (diff)
downloadlua-086da10dacc9e2b8f7731609f0deec731c854627.tar.gz
lua-086da10dacc9e2b8f7731609f0deec731c854627.tar.bz2
lua-086da10dacc9e2b8f7731609f0deec731c854627.zip
merge of fields 'lastmajormem' (used in gen. mode) and 'estimate'
(used in inc. mode)
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 302834ab..665cf160 100644
--- a/lstate.h
+++ b/lstate.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lstate.h,v 2.78 2012/05/20 20:36:44 roberto Exp roberto $ 2** $Id: lstate.h,v 2.79 2012/05/22 17:32:25 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*/
@@ -114,8 +114,7 @@ typedef struct global_State {
114 lu_mem totalbytes; /* number of bytes currently allocated - GCdebt */ 114 lu_mem totalbytes; /* number of bytes currently allocated - GCdebt */
115 l_mem GCdebt; /* bytes allocated not yet compensated by the collector */ 115 l_mem GCdebt; /* bytes allocated not yet compensated by the collector */
116 lu_mem GCmemtrav; /* memory traversed by the GC */ 116 lu_mem GCmemtrav; /* memory traversed by the GC */
117 lu_mem lastmajormem; /* memory in use after last major collection */ 117 lu_mem GCestimate; /* an estimate of the non-garbage memory in use */
118 lu_mem estimate;
119 stringtable strt; /* hash table for strings */ 118 stringtable strt; /* hash table for strings */
120 TValue l_registry; 119 TValue l_registry;
121 unsigned int seed; /* randomized seed for hashes */ 120 unsigned int seed; /* randomized seed for hashes */