aboutsummaryrefslogtreecommitdiff
path: root/lstate.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* 'KGC_NORMAL' -> 'KGC_INC' + emergency GC signalled by flag (insteadRoberto Ierusalimschy2017-04-241-2/+3
| | | | of mode)
* removed initialization of 'GCestimate' (it is initialized duringRoberto Ierusalimschy2017-04-121-2/+1
| | | | a GC cycle, when it start counting)
* 'mainthread' lives in 'allgc' list, like everybody elseRoberto Ierusalimschy2017-04-111-3/+4
|
* generational collector (still not complete)Roberto Ierusalimschy2017-04-051-2/+3
|
* generational collection: new attempt (still incomplete)Roberto Ierusalimschy2017-02-231-1/+2
|
* removed field 'n' from 'CallInfo' (not being used right now)Roberto Ierusalimschy2015-11-131-14/+11
|
* added counters for total and individual CallInfo entries (to allowRoberto Ierusalimschy2015-11-021-8/+16
| | | | better syncronization between CallInfo size and stack size)
* macro 'addbuff' was using external variable name, instead of usingRoberto Ierusalimschy2015-10-201-2/+2
| | | | its parameter name inside the macro.
* long strings are created directly in final position when possibleRoberto Ierusalimschy2015-09-081-3/+1
| | | | | (instead of using an auxiliar buffer to first create the string and then allocate the final string and copy result there)
* avoid overflows (detected with 'clang -ftrapv')Roberto Ierusalimschy2015-07-131-3/+7
|
* new cache for interning stringsRoberto Ierusalimschy2015-03-041-8/+2
|
* comments (references to "ANSI C" changed to "ISO C", which is theRoberto Ierusalimschy2014-11-021-4/+3
| | | | international name
* added include for 'lprefix.h', for stuff that must be added beforeRoberto Ierusalimschy2014-11-021-4/+6
| | | | any other header file
* extra space for new threads is initialized with a copy of the mainRoberto Ierusalimschy2014-07-241-3/+4
| | | | thread, not of the creator thread.
* better support for extra user space associated with a Lua stateRoberto Ierusalimschy2014-07-241-4/+5
|
* type 'TString' refers directly to the structure inside the unionRoberto Ierusalimschy2014-07-181-2/+2
| | | | (union used only for size purposes)
* added check for conversion 'obj2gco' (and corrections for smallRoberto Ierusalimschy2014-07-181-2/+2
| | | | problems detected by this check)
* no need to keep threads in a different GC list, now that there is theRoberto Ierusalimschy2014-02-181-4/+4
| | | | '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-6/+7
| | | | (increases progressively)
* no more local collectionRoberto Ierusalimschy2014-02-131-14/+4
|
* keep a single list of objects to be finalized (with local and non-localRoberto Ierusalimschy2014-02-111-2/+2
| | | | objects), to ensure finalization order
* bug: should call 'luai_userstateclose' only when 'luai_userstateopen'Roberto Ierusalimschy2013-11-081-6/+8
| | | | has been called before
* CallInfo lists shrinks together with their associated stacksRoberto Ierusalimschy2013-09-171-1/+20
|
* GC local pause configurableRoberto Ierusalimschy2013-09-131-1/+6
|
* threads are kept in a separated GC list, linked after the main threadRoberto Ierusalimschy2013-09-111-14/+6
|
* 'luaC_newobj' does not handle special cases; only special caseRoberto Ierusalimschy2013-09-111-7/+11
| | | | now is threads, which do not use 'luaC_newobj' anymore.
* back to open hashing for the string table (but with a differentRoberto Ierusalimschy2013-09-051-2/+2
| | | | | 'hnext' field, to strings are still collected like all other objects)
* local collection now calls finalizersRoberto Ierusalimschy2013-09-031-4/+2
|
* new GC state to sweep 'localgc' list + small changes in sweep controlRoberto Ierusalimschy2013-08-301-2/+2
|
* tables and userdata all go to local list, tooRoberto Ierusalimschy2013-08-281-1/+9
|
* upvalues collected by reference countRoberto Ierusalimschy2013-08-271-2/+2
|
* Lua closures go to local, tooRoberto Ierusalimschy2013-08-261-2/+2
|
* C functions and strings now go to the local list; first versionRoberto Ierusalimschy2013-08-231-1/+3
| | | | of the local collector
* "fixed" objects kept in a separated list (instead of being kept inRoberto Ierusalimschy2013-08-211-3/+4
| | | | 'allgc' list with a bit marking them)
* change in string table: string table is now independent of GC lists; allRoberto Ierusalimschy2013-08-211-3/+2
| | | | strings live in 'normal' GC lists
* added 'local' bit (true => object is only refered by local variables)Roberto Ierusalimschy2013-08-161-7/+10
|
* double-linked list of all upvalues elliminated and changed to aRoberto Ierusalimschy2013-08-071-4/+4
| | | | traversal of all non-marked threads
* no more generational collection !!!Roberto Ierusalimschy2013-08-051-6/+1
|
* cast in 'luai_makeseed' now casts to needed typeRoberto Ierusalimschy2012-10-021-2/+2
|
* typos in commentsRoberto Ierusalimschy2012-05-301-2/+2
|
* spaces -> tabs in #definesRoberto Ierusalimschy2012-05-231-2/+2
|
* merge of fields 'lastmajormem' (used in gen. mode) and 'estimate'Roberto Ierusalimschy2012-05-221-2/+2
| | | | (used in inc. mode)
* try to avoid sweeping new objects created with new white (andRoberto Ierusalimschy2012-05-221-1/+2
| | | | therefore not collectable in the current cycle)
* useless parameter in macro 'luai_makeseed'Roberto Ierusalimschy2012-05-111-2/+2
|
* random seed used in the hash of all strings to avoid intentionalRoberto Ierusalimschy2012-02-011-1/+36
| | | | collisions
* 'luaC_separateudata' called from 'luaC_freeallobjects' + removedRoberto Ierusalimschy2011-10-031-5/+2
| | | | extra 'luaF_close' (already being called by 'close_state')
* '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)
* no more 'luaH_setstr (used only once) + 'luaH_setint' receives valueRoberto Ierusalimschy2011-08-091-3/+3
| | | | to be set.
* change in the relationship between totalbytes and GCdebt - luaM_realloc_Roberto Ierusalimschy2010-12-201-6/+9
| | | | is too critical to update two counters