Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | bug: garbage collector can trigger too many times in recursive loops, | Roberto Ierusalimschy | 2013-04-26 | 1 | -3/+10 | |
| | | | | because it was not computing the size of CallInfo structures in threads | |||||
* | typos in comments | Roberto Ierusalimschy | 2013-03-16 | 1 | -2/+2 | |
| | ||||||
* | cast to avoid warnings | Roberto Ierusalimschy | 2013-03-15 | 1 | -2/+2 | |
| | ||||||
* | more precise control for GC pause (based on threshold) | Roberto Ierusalimschy | 2012-10-19 | 1 | -19/+27 | |
| | ||||||
* | removed commented-out line (for debugging) | Roberto Ierusalimschy | 2012-10-03 | 1 | -2/+1 | |
| | ||||||
* | small bug: generational mode is always in 'propagate' mode only | Roberto Ierusalimschy | 2012-09-11 | 1 | -5/+7 | |
| | | | | | outside the collector: during collection of course it must go to other modes. | |||||
* | collector in generational mode must be in 'propagate' state when | Roberto Ierusalimschy | 2012-07-04 | 1 | -17/+13 | |
| | | | | not running a collection | |||||
* | major collections in generational mode are triggered by comparison with | Roberto Ierusalimschy | 2012-07-02 | 1 | -3/+6 | |
| | | | | the memory estimate from last major collection | |||||
* | includes counts from 'sweeptolive' in cost of atomic step | Roberto Ierusalimschy | 2012-05-31 | 1 | -8/+15 | |
| | ||||||
* | small bug in error handling of finalizers (cannot call lua_tostring | Roberto Ierusalimschy | 2012-05-31 | 1 | -27/+45 | |
| | | | | | | inside the core) + small bug in luaC_checkfinalizer (when avoiding remove object being sweeped from sweep list) + small changes in GC pace control (for the atomic part) | |||||
* | bug: object being moved to 'finobj' list might not be sweeped by | Roberto Ierusalimschy | 2012-05-30 | 1 | -4/+7 | |
| | | | | the collector | |||||
* | only count in 'atomic' objects marked for the first time | Roberto Ierusalimschy | 2012-05-29 | 1 | -5/+8 | |
| | ||||||
* | more efficient way to apply 'stepmul' + some changes in GC parameters | Roberto Ierusalimschy | 2012-05-28 | 1 | -18/+29 | |
| | ||||||
* | definition of 'GCSTEPSIZE' moved to header file + small changes | Roberto Ierusalimschy | 2012-05-23 | 1 | -5/+2 | |
| | ||||||
* | detail ('char' should be 'const char') | Roberto Ierusalimschy | 2012-05-22 | 1 | -2/+2 | |
| | ||||||
* | merge of fields 'lastmajormem' (used in gen. mode) and 'estimate' | Roberto Ierusalimschy | 2012-05-22 | 1 | -8/+9 | |
| | | | | (used in inc. mode) | |||||
* | try to avoid sweeping new objects created with new white (and | Roberto Ierusalimschy | 2012-05-22 | 1 | -24/+38 | |
| | | | | therefore not collectable in the current cycle) | |||||
* | simpler macro 'luaC_condGC' + better 'step' in 'lua_gc' + | Roberto Ierusalimschy | 2012-05-21 | 1 | -6/+24 | |
| | | | | | micro bug in 'luaC_checkfinalizer' (current sweep object could be removed from 'allgc' list) | |||||
* | revamp of the GC pace control; more like 5.1: any X Kbytes allocated | Roberto Ierusalimschy | 2012-05-20 | 1 | -96/+117 | |
| | | | | makes the GC handle f(X) Kbytes of objects | |||||
* | removed 'stringmark' trick | Roberto Ierusalimschy | 2012-05-14 | 1 | -25/+19 | |
| | ||||||
* | test for whether collector is running moved from function to | Roberto Ierusalimschy | 2012-05-11 | 1 | -11/+3 | |
| | | | | macro 'luaC_condGC'. | |||||
* | no more 'Proto' objects on the stack. Protos are anchored on outer | Roberto Ierusalimschy | 2012-05-08 | 1 | -2/+1 | |
| | | | | Protos or on a Closure, which must be created before the Proto. | |||||
* | first implementation of long strings | Roberto Ierusalimschy | 2012-01-25 | 1 | -10/+16 | |
| | ||||||
* | Lua never uses Ã'assert' (it is always 'lua_assert') | Roberto Ierusalimschy | 2012-01-23 | 1 | -2/+2 | |
| | ||||||
* | object tag keeps variant bits too -> no need for 'isC' field in | Roberto Ierusalimschy | 2012-01-20 | 1 | -23/+41 | |
| | | | | Closures + more strick typing for closure variants | |||||
* | error message: "tag method" -> "metamethod" | Roberto Ierusalimschy | 2011-12-02 | 1 | -4/+4 | |
| | ||||||
* | avoid some warnings about converting 32-bit shifts into 64-bit results | Roberto Ierusalimschy | 2011-11-28 | 1 | -6/+12 | |
| | ||||||
* | 'luaC_separateudata' renamed to 'separatetobefnz' and called only | Roberto Ierusalimschy | 2011-10-03 | 1 | -10/+9 | |
| | | | | from 'lgc.c' | |||||
* | retraverse all gray lists together to avoid traversing some weak | Roberto Ierusalimschy | 2011-10-03 | 1 | -14/+34 | |
| | | | | tables twice (as they may change lists when traversed) | |||||
* | dead objects are not collectable. | Roberto Ierusalimschy | 2011-09-24 | 1 | -3/+4 | |
| | ||||||
* | better(?) scheme for cleaning weak tables; all ressurected objects | Roberto Ierusalimschy | 2011-09-24 | 1 | -18/+44 | |
| | | | | are removed from weak values before finalization | |||||
* | avoid clearing ephemeron tables that have nothing to be cleaned | Roberto Ierusalimschy | 2011-09-19 | 1 | -13/+17 | |
| | | | | (no white elements) | |||||
* | macro 'checkconsistency' moved to this file, as it is used only | Roberto Ierusalimschy | 2011-05-05 | 1 | -1/+5 | |
| | | | | here | |||||
* | full collection does not restart collector + avoid changing GC | Roberto Ierusalimschy | 2010-12-29 | 1 | -12/+20 | |
| | | | | state if an error happens in a step | |||||
* | change in the relationship between totalbytes and GCdebt - luaM_realloc_ | Roberto Ierusalimschy | 2010-12-20 | 1 | -10/+13 | |
| | | | | is too critical to update two counters | |||||
* | better control for GC running or stopped | Roberto Ierusalimschy | 2010-12-20 | 1 | -9/+12 | |
| | ||||||
* | 'micro' bug: when closing state, old objects are finalized (breaking | Roberto Ierusalimschy | 2010-12-03 | 1 | -5/+8 | |
| | | | | assertion) | |||||
* | finalizers (__gc) for tables | Roberto Ierusalimschy | 2010-11-26 | 1 | -36/+36 | |
| | ||||||
* | corrected warnings from different compilers (mostly casts and small | Roberto Ierusalimschy | 2010-10-25 | 1 | -2/+2 | |
| | | | | details) | |||||
* | new parameter 'majorinc' to control frequency of major collections | Roberto Ierusalimschy | 2010-09-03 | 1 | -2/+2 | |
| | | | | in generational mode | |||||
* | typo in comments | Roberto Ierusalimschy | 2010-06-30 | 1 | -2/+2 | |
| | ||||||
* | macro 'key2tal' replaced by 'gkey' (as both were equal) | Roberto Ierusalimschy | 2010-06-25 | 1 | -3/+3 | |
| | ||||||
* | better barrier for prototypes | Roberto Ierusalimschy | 2010-06-07 | 1 | -28/+20 | |
| | ||||||
* | Lua closures are cached for reuse | Roberto Ierusalimschy | 2010-06-04 | 1 | -8/+42 | |
| | ||||||
* | bug: generational collection was not running collector! (must write | Roberto Ierusalimschy | 2010-06-02 | 1 | -2/+3 | |
| | | | | a test for this...) | |||||
* | really stop collection during finalizers | Roberto Ierusalimschy | 2010-05-17 | 1 | -2/+2 | |
| | ||||||
* | avoid "strong" cast | Roberto Ierusalimschy | 2010-05-11 | 1 | -2/+3 | |
| | ||||||
* | corrected some places where an old object could end up in front | Roberto Ierusalimschy | 2010-05-10 | 1 | -5/+4 | |
| | | | | of a new one + minimal documentation about this problem | |||||
* | new macro 'resetoldbit' | Roberto Ierusalimschy | 2010-05-10 | 1 | -6/+6 | |
| | ||||||
* | avoid 'else assert' (which may result in an empty else) | Roberto Ierusalimschy | 2010-05-07 | 1 | -4/+4 | |
| |