diff options
Diffstat (limited to 'lstate.h')
-rw-r--r-- | lstate.h | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -264,16 +264,17 @@ typedef struct global_State { | |||
264 | TValue l_registry; | 264 | TValue l_registry; |
265 | TValue nilvalue; /* a nil value */ | 265 | TValue nilvalue; /* a nil value */ |
266 | unsigned int seed; /* randomized seed for hashes */ | 266 | unsigned int seed; /* randomized seed for hashes */ |
267 | unsigned short gcpgenminormul; /* control minor generational collections */ | ||
268 | unsigned short gcpmajorminor; /* control shift major->minor */ | ||
269 | unsigned short gcpminormajor; /* control shift minor->major */ | ||
270 | unsigned short gcpgcpause; /* size of pause between successive GCs */ | ||
271 | unsigned short gcpgcstepmul; /* GC "speed" */ | ||
267 | lu_byte currentwhite; | 272 | lu_byte currentwhite; |
268 | lu_byte gcstate; /* state of garbage collector */ | 273 | lu_byte gcstate; /* state of garbage collector */ |
269 | lu_byte gckind; /* kind of GC running */ | 274 | lu_byte gckind; /* kind of GC running */ |
270 | lu_byte gcstopem; /* stops emergency collections */ | 275 | lu_byte gcstopem; /* stops emergency collections */ |
271 | lu_byte genminormul; /* control for minor generational collections */ | ||
272 | lu_byte genmajormul; /* control for major generational collections */ | ||
273 | lu_byte gcstp; /* control whether GC is running */ | 276 | lu_byte gcstp; /* control whether GC is running */ |
274 | lu_byte gcemergency; /* true if this is an emergency collection */ | 277 | lu_byte gcemergency; /* true if this is an emergency collection */ |
275 | lu_byte gcpause; /* size of pause between successive GCs */ | ||
276 | lu_byte gcstepmul; /* GC "speed" */ | ||
277 | lu_byte gcstepsize; /* (log2 of) GC granularity */ | 278 | lu_byte gcstepsize; /* (log2 of) GC granularity */ |
278 | GCObject *allgc; /* list of all collectable objects */ | 279 | GCObject *allgc; /* list of all collectable objects */ |
279 | GCObject **sweepgc; /* current position of sweep in list */ | 280 | GCObject **sweepgc; /* current position of sweep in list */ |