Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | 'KGC_NORMAL' -> 'KGC_INC' + emergency GC signalled by flag (instead | Roberto Ierusalimschy | 2017-04-24 | 1 | -2/+3 | |
| | | | | of mode) | |||||
* | removed initialization of 'GCestimate' (it is initialized during | Roberto Ierusalimschy | 2017-04-12 | 1 | -2/+1 | |
| | | | | a GC cycle, when it start counting) | |||||
* | 'mainthread' lives in 'allgc' list, like everybody else | Roberto Ierusalimschy | 2017-04-11 | 1 | -3/+4 | |
| | ||||||
* | generational collector (still not complete) | Roberto Ierusalimschy | 2017-04-05 | 1 | -2/+3 | |
| | ||||||
* | generational collection: new attempt (still incomplete) | Roberto Ierusalimschy | 2017-02-23 | 1 | -1/+2 | |
| | ||||||
* | removed field 'n' from 'CallInfo' (not being used right now) | Roberto Ierusalimschy | 2015-11-13 | 1 | -14/+11 | |
| | ||||||
* | added counters for total and individual CallInfo entries (to allow | Roberto Ierusalimschy | 2015-11-02 | 1 | -8/+16 | |
| | | | | better syncronization between CallInfo size and stack size) | |||||
* | macro 'addbuff' was using external variable name, instead of using | Roberto Ierusalimschy | 2015-10-20 | 1 | -2/+2 | |
| | | | | its parameter name inside the macro. | |||||
* | long strings are created directly in final position when possible | Roberto Ierusalimschy | 2015-09-08 | 1 | -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 Ierusalimschy | 2015-07-13 | 1 | -3/+7 | |
| | ||||||
* | new cache for interning strings | Roberto Ierusalimschy | 2015-03-04 | 1 | -8/+2 | |
| | ||||||
* | comments (references to "ANSI C" changed to "ISO C", which is the | Roberto Ierusalimschy | 2014-11-02 | 1 | -4/+3 | |
| | | | | international name | |||||
* | added include for 'lprefix.h', for stuff that must be added before | Roberto Ierusalimschy | 2014-11-02 | 1 | -4/+6 | |
| | | | | any other header file | |||||
* | extra space for new threads is initialized with a copy of the main | Roberto Ierusalimschy | 2014-07-24 | 1 | -3/+4 | |
| | | | | thread, not of the creator thread. | |||||
* | better support for extra user space associated with a Lua state | Roberto Ierusalimschy | 2014-07-24 | 1 | -4/+5 | |
| | ||||||
* | type 'TString' refers directly to the structure inside the union | Roberto Ierusalimschy | 2014-07-18 | 1 | -2/+2 | |
| | | | | (union used only for size purposes) | |||||
* | added check for conversion 'obj2gco' (and corrections for small | Roberto Ierusalimschy | 2014-07-18 | 1 | -2/+2 | |
| | | | | problems detected by this check) | |||||
* | no need to keep threads in a different GC list, now that there is the | Roberto Ierusalimschy | 2014-02-18 | 1 | -4/+4 | |
| | | | | 'twups' list | |||||
* | new list 'twups' to allow traversal of upvalues from dead threads | Roberto Ierusalimschy | 2014-02-18 | 1 | -1/+3 | |
| | | | | (+ fixed some problems with cycles involving those upvalues) | |||||
* | better control for number of finalizers called at each GC cycle | Roberto Ierusalimschy | 2014-02-13 | 1 | -6/+7 | |
| | | | | (increases progressively) | |||||
* | no more local collection | Roberto Ierusalimschy | 2014-02-13 | 1 | -14/+4 | |
| | ||||||
* | keep a single list of objects to be finalized (with local and non-local | Roberto Ierusalimschy | 2014-02-11 | 1 | -2/+2 | |
| | | | | objects), to ensure finalization order | |||||
* | bug: should call 'luai_userstateclose' only when 'luai_userstateopen' | Roberto Ierusalimschy | 2013-11-08 | 1 | -6/+8 | |
| | | | | has been called before | |||||
* | CallInfo lists shrinks together with their associated stacks | Roberto Ierusalimschy | 2013-09-17 | 1 | -1/+20 | |
| | ||||||
* | GC local pause configurable | Roberto Ierusalimschy | 2013-09-13 | 1 | -1/+6 | |
| | ||||||
* | threads are kept in a separated GC list, linked after the main thread | Roberto Ierusalimschy | 2013-09-11 | 1 | -14/+6 | |
| | ||||||
* | 'luaC_newobj' does not handle special cases; only special case | Roberto Ierusalimschy | 2013-09-11 | 1 | -7/+11 | |
| | | | | now is threads, which do not use 'luaC_newobj' anymore. | |||||
* | back to open hashing for the string table (but with a different | Roberto Ierusalimschy | 2013-09-05 | 1 | -2/+2 | |
| | | | | | 'hnext' field, to strings are still collected like all other objects) | |||||
* | local collection now calls finalizers | Roberto Ierusalimschy | 2013-09-03 | 1 | -4/+2 | |
| | ||||||
* | new GC state to sweep 'localgc' list + small changes in sweep control | Roberto Ierusalimschy | 2013-08-30 | 1 | -2/+2 | |
| | ||||||
* | tables and userdata all go to local list, too | Roberto Ierusalimschy | 2013-08-28 | 1 | -1/+9 | |
| | ||||||
* | upvalues collected by reference count | Roberto Ierusalimschy | 2013-08-27 | 1 | -2/+2 | |
| | ||||||
* | Lua closures go to local, too | Roberto Ierusalimschy | 2013-08-26 | 1 | -2/+2 | |
| | ||||||
* | C functions and strings now go to the local list; first version | Roberto Ierusalimschy | 2013-08-23 | 1 | -1/+3 | |
| | | | | of the local collector | |||||
* | "fixed" objects kept in a separated list (instead of being kept in | Roberto Ierusalimschy | 2013-08-21 | 1 | -3/+4 | |
| | | | | 'allgc' list with a bit marking them) | |||||
* | change in string table: string table is now independent of GC lists; all | Roberto Ierusalimschy | 2013-08-21 | 1 | -3/+2 | |
| | | | | strings live in 'normal' GC lists | |||||
* | added 'local' bit (true => object is only refered by local variables) | Roberto Ierusalimschy | 2013-08-16 | 1 | -7/+10 | |
| | ||||||
* | double-linked list of all upvalues elliminated and changed to a | Roberto Ierusalimschy | 2013-08-07 | 1 | -4/+4 | |
| | | | | traversal of all non-marked threads | |||||
* | no more generational collection !!! | Roberto Ierusalimschy | 2013-08-05 | 1 | -6/+1 | |
| | ||||||
* | cast in 'luai_makeseed' now casts to needed type | Roberto Ierusalimschy | 2012-10-02 | 1 | -2/+2 | |
| | ||||||
* | typos in comments | Roberto Ierusalimschy | 2012-05-30 | 1 | -2/+2 | |
| | ||||||
* | spaces -> tabs in #defines | Roberto Ierusalimschy | 2012-05-23 | 1 | -2/+2 | |
| | ||||||
* | merge of fields 'lastmajormem' (used in gen. mode) and 'estimate' | Roberto Ierusalimschy | 2012-05-22 | 1 | -2/+2 | |
| | | | | (used in inc. mode) | |||||
* | try to avoid sweeping new objects created with new white (and | Roberto Ierusalimschy | 2012-05-22 | 1 | -1/+2 | |
| | | | | therefore not collectable in the current cycle) | |||||
* | useless parameter in macro 'luai_makeseed' | Roberto Ierusalimschy | 2012-05-11 | 1 | -2/+2 | |
| | ||||||
* | random seed used in the hash of all strings to avoid intentional | Roberto Ierusalimschy | 2012-02-01 | 1 | -1/+36 | |
| | | | | collisions | |||||
* | 'luaC_separateudata' called from 'luaC_freeallobjects' + removed | Roberto Ierusalimschy | 2011-10-03 | 1 | -5/+2 | |
| | | | | extra 'luaF_close' (already being called by 'close_state') | |||||
* | 'nCcalls' should be local to each thread, as each thread may have its | Roberto Ierusalimschy | 2011-08-23 | 1 | -2/+2 | |
| | | | | own C stack (with LuaThreads or something similar) | |||||
* | no more 'luaH_setstr (used only once) + 'luaH_setint' receives value | Roberto Ierusalimschy | 2011-08-09 | 1 | -3/+3 | |
| | | | | to be set. | |||||
* | change in the relationship between totalbytes and GCdebt - luaM_realloc_ | Roberto Ierusalimschy | 2010-12-20 | 1 | -6/+9 | |
| | | | | is too critical to update two counters |