First criteria for shifts minor<->major
This commit is contained in:
9
lstate.h
9
lstate.h
@@ -264,16 +264,17 @@ typedef struct global_State {
|
||||
TValue l_registry;
|
||||
TValue nilvalue; /* a nil value */
|
||||
unsigned int seed; /* randomized seed for hashes */
|
||||
unsigned short gcpgenminormul; /* control minor generational collections */
|
||||
unsigned short gcpmajorminor; /* control shift major->minor */
|
||||
unsigned short gcpminormajor; /* control shift minor->major */
|
||||
unsigned short gcpgcpause; /* size of pause between successive GCs */
|
||||
unsigned short gcpgcstepmul; /* GC "speed" */
|
||||
lu_byte currentwhite;
|
||||
lu_byte gcstate; /* state of garbage collector */
|
||||
lu_byte gckind; /* kind of GC running */
|
||||
lu_byte gcstopem; /* stops emergency collections */
|
||||
lu_byte genminormul; /* control for minor generational collections */
|
||||
lu_byte genmajormul; /* control for major generational collections */
|
||||
lu_byte gcstp; /* control whether GC is running */
|
||||
lu_byte gcemergency; /* true if this is an emergency collection */
|
||||
lu_byte gcpause; /* size of pause between successive GCs */
|
||||
lu_byte gcstepmul; /* GC "speed" */
|
||||
lu_byte gcstepsize; /* (log2 of) GC granularity */
|
||||
GCObject *allgc; /* list of all collectable objects */
|
||||
GCObject **sweepgc; /* current position of sweep in list */
|
||||
|
||||
Reference in New Issue
Block a user