diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2007-10-31 13:41:19 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2007-10-31 13:41:19 -0200 |
commit | 5e8dd555748f0f5ef8c7afb5bcc9aa42decc8c81 (patch) | |
tree | 8b9b35b380fa3f6bcf606110903911fb4478b46d /lstate.h | |
parent | 0e961ad47acbe2d67b72c90cc1ba0040f3907b75 (diff) | |
download | lua-5e8dd555748f0f5ef8c7afb5bcc9aa42decc8c81.tar.gz lua-5e8dd555748f0f5ef8c7afb5bcc9aa42decc8c81.tar.bz2 lua-5e8dd555748f0f5ef8c7afb5bcc9aa42decc8c81.zip |
first implementation of ephemerons
Diffstat (limited to 'lstate.h')
-rw-r--r-- | lstate.h | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lstate.h,v 2.28 2007/02/07 17:48:52 roberto Exp roberto $ | 2 | ** $Id: lstate.h,v 2.29 2007/10/29 16:51:20 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 | */ |
@@ -78,9 +78,9 @@ typedef struct global_State { | |||
78 | GCObject **sweepgc; /* position of sweep in `rootgc' */ | 78 | GCObject **sweepgc; /* position of sweep in `rootgc' */ |
79 | GCObject *gray; /* list of gray objects */ | 79 | GCObject *gray; /* list of gray objects */ |
80 | GCObject *grayagain; /* list of objects to be traversed atomically */ | 80 | GCObject *grayagain; /* list of objects to be traversed atomically */ |
81 | GCObject *weakvalue; /* list of value-weak tables */ | 81 | GCObject *weak; /* list of (something) weak tables */ |
82 | GCObject *weakkey; /* list of key-weak tables */ | 82 | GCObject *ephemeron; /* list of ephemeron tables */ |
83 | GCObject *weakkeyvalue; /* list of all-weak tables */ | 83 | GCObject *allweak; /* list of all-weak tables */ |
84 | GCObject *tmudata; /* last element of list of userdata to be GC */ | 84 | GCObject *tmudata; /* last element of list of userdata to be GC */ |
85 | Mbuffer buff; /* temporary buffer for string concatentation */ | 85 | Mbuffer buff; /* temporary buffer for string concatentation */ |
86 | lu_mem GCthreshold; | 86 | lu_mem GCthreshold; |