summaryrefslogtreecommitdiff
path: root/lstate.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* comments (a few extra quotes around identifiers)Roberto Ierusalimschy2014-10-301-5/+5
|
* `name' in comments changed to 'name'Roberto Ierusalimschy2014-10-251-5/+5
|
* 'lua_Kcontext' -> 'lua_KContext'Roberto Ierusalimschy2014-10-071-2/+2
|
* commentsRoberto Ierusalimschy2014-10-061-2/+8
|
* 'lua_Ctx' -> 'lua_Kcontext'Roberto Ierusalimschy2014-08-011-2/+2
|
* better(?) alignment for some structures (pointers first)Roberto Ierusalimschy2014-07-231-13/+13
|
* type 'Udata' refers directly to structure inside the union (unionRoberto Ierusalimschy2014-07-181-4/+3
| | | | used only for aligning purposes now)
* type 'TString' refers directly to the structure inside the unionRoberto Ierusalimschy2014-07-181-11/+3
| | | | (union used only for size purposes)
* added check for conversion 'obj2gco' (and corrections for smallRoberto Ierusalimschy2014-07-181-4/+12
| | | | problems detected by this check)
* no need for field 'gch' anymoreRoberto Ierusalimschy2014-07-171-17/+9
|
* change in GCObject: instead of being a union, it is now a structureRoberto Ierusalimschy2014-07-171-12/+21
| | | | | | | | with the common header of all collectable objects; union is used only for conversions. (Goal is to be able to check that the cast 'obj2gco' can have a check to ensure that object being converted is really a collectable object.). This is the first step in the change.
* new type 'lua_Ctx' for continuation-function contexts (to allow typeRoberto Ierusalimschy2014-07-171-2/+2
| | | | to be configurable)
* cleaner way to handle bit CIST_OAH (with auxiliar macros)Roberto Ierusalimschy2014-06-121-9/+12
|
* bit-field CIST_YIELDED removed (it was never consulted)Roberto Ierusalimschy2014-06-101-6/+5
|
* no need for field 'status' in structure 'CallInfo' (after removalRoberto Ierusalimschy2014-06-101-7/+5
| | | | | of 'lua_getctx') + field 'old_allowhook' can be packed into a single bit
* new type lua_KFunction + no more 'lua_getctx'Roberto Ierusalimschy2014-06-101-2/+2
|
* small changes in field order in some structs to reduce paddingRoberto Ierusalimschy2014-05-151-2/+2
|
* no need to keep threads in a different GC list, now that there is theRoberto Ierusalimschy2014-02-181-2/+1
| | | | 'twups' list
* new list 'twups' to allow traversal of upvalues from dead threadsRoberto Ierusalimschy2014-02-181-1/+3
| | | | (+ fixed some problems with cycles involving those upvalues)
* better control for number of finalizers called at each GC cycleRoberto Ierusalimschy2014-02-131-1/+2
| | | | (increases progressively)
* no more local collectionRoberto Ierusalimschy2014-02-131-6/+2
|
* keep a single list of objects to be finalized (with local and non-localRoberto Ierusalimschy2014-02-111-4/+2
| | | | objects), to ensure finalization order
* CallInfo lists shrinks together with their associated stacksRoberto Ierusalimschy2013-09-171-1/+2
|
* GC local pause configurableRoberto Ierusalimschy2013-09-131-1/+2
|
* threads are kept in a separated GC list, linked after the main threadRoberto Ierusalimschy2013-09-111-13/+12
|
* back to open hashing for the string table (but with a differentRoberto Ierusalimschy2013-09-051-2/+1
| | | | | 'hnext' field, to strings are still collected like all other objects)
* local collection now calls finalizersRoberto Ierusalimschy2013-09-031-2/+3
|
* new GC state to sweep 'localgc' list + small changes in sweep controlRoberto Ierusalimschy2013-08-301-3/+2
|
* upvalues collected by reference countRoberto Ierusalimschy2013-08-271-12/+2
|
* Lua closures go to local, tooRoberto Ierusalimschy2013-08-261-1/+2
|
* C functions and strings now go to the local list; first versionRoberto Ierusalimschy2013-08-231-1/+3
| | | | of the local collector
* some details over new implementation of string tableRoberto Ierusalimschy2013-08-221-4/+4
|
* "fixed" objects kept in a separated list (instead of being kept inRoberto Ierusalimschy2013-08-211-1/+5
| | | | 'allgc' list with a bit marking them)
* change in string table: string table is now independent of GC lists; allRoberto Ierusalimschy2013-08-211-7/+5
| | | | strings live in 'normal' GC lists
* GC bits SEPARATED and FINALIZEDBIT mixed in FINALIZEDBIT (with simplerRoberto Ierusalimschy2013-08-201-4/+4
| | | | control)
* double-linked list of all upvalues elliminated and changed to aRoberto Ierusalimschy2013-08-071-10/+10
| | | | traversal of all non-marked threads
* no more generational collection !!!Roberto Ierusalimschy2013-08-051-3/+1
|
* commentRoberto Ierusalimschy2012-07-021-2/+2
|
* bugs in yields inside debug hooksRoberto Ierusalimschy2012-06-081-2/+3
|
* merge of fields 'lastmajormem' (used in gen. mode) and 'estimate'Roberto Ierusalimschy2012-05-221-3/+2
| | | | (used in inc. mode)
* try to avoid sweeping new objects created with new white (andRoberto Ierusalimschy2012-05-221-2/+3
| | | | therefore not collectable in the current cycle)
* revamp of the GC pace control; more like 5.1: any X Kbytes allocatedRoberto Ierusalimschy2012-05-201-1/+3
| | | | makes the GC handle f(X) Kbytes of objects
* random seed used in the hash of all strings to avoid intentionalRoberto Ierusalimschy2012-02-011-1/+2
| | | | collisions
* first implementation of long stringsRoberto Ierusalimschy2012-01-251-2/+3
|
* object tag keeps variant bits too -> no need for 'isC' field inRoberto Ierusalimschy2012-01-201-2/+5
| | | | Closures + more strick typing for closure variants
* lint (unused definition)Roberto Ierusalimschy2011-09-301-3/+1
|
* 'nCcalls' should be local to each thread, as each thread may have itsRoberto Ierusalimschy2011-08-231-2/+2
| | | | own C stack (with LuaThreads or something similar)
* stricter control (using tag variants) over closure kinds (Lua x C)Roberto Ierusalimschy2011-06-021-2/+1
|
* change in the relationship between totalbytes and GCdebt - luaM_realloc_Roberto Ierusalimschy2010-12-201-3/+7
| | | | is too critical to update two counters
* better control for GC running or stoppedRoberto Ierusalimschy2010-12-201-1/+2
|