Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | LOCALBLACK changed to LOCALMARK and used also to control whether object | Roberto Ierusalimschy | 2013-08-27 | 1 | -6/+10 | |
| | | | | | is in 'localgc' list + luaC_newobj by default puts object in 'localgc' list | |||||
* | upvalues collected by reference count | Roberto Ierusalimschy | 2013-08-27 | 1 | -84/+58 | |
| | ||||||
* | Lua closures go to local, too | Roberto Ierusalimschy | 2013-08-26 | 1 | -6/+35 | |
| | ||||||
* | C functions and strings now go to the local list; first version | Roberto Ierusalimschy | 2013-08-23 | 1 | -8/+94 | |
| | | | | of the local collector | |||||
* | "fixed" objects kept in a separated list (instead of being kept in | Roberto Ierusalimschy | 2013-08-21 | 1 | -1/+12 | |
| | | | | '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 | -32/+14 | |
| | | | | strings live in 'normal' GC lists | |||||
* | GC bits SEPARATED and FINALIZEDBIT mixed in FINALIZEDBIT (with simpler | Roberto Ierusalimschy | 2013-08-20 | 1 | -12/+7 | |
| | | | | control) | |||||
* | "barrier" for link prototype->cache changed to be consistent with | Roberto Ierusalimschy | 2013-08-19 | 1 | -23/+1 | |
| | | | | GC behavior (link is cleared to preserve invariant) | |||||
* | added 'local' bit (true => object is only refered by local variables) | Roberto Ierusalimschy | 2013-08-16 | 1 | -9/+17 | |
| | ||||||
* | barrier conditions rewritten to test first 'isblack' and then 'iswhite' | Roberto Ierusalimschy | 2013-08-13 | 1 | -1/+3 | |
| | | | | | (during a pause all objects are white, so 'isblack' fails much more often than 'iswhite') | |||||
* | change to allow collector to stop when it goes to the atomic phase | Roberto Ierusalimschy | 2013-08-07 | 1 | -16/+17 | |
| | | | | (just for debugging) | |||||
* | double-linked list of all upvalues elliminated and changed to a | Roberto Ierusalimschy | 2013-08-07 | 1 | -9/+16 | |
| | | | | traversal of all non-marked threads | |||||
* | no more generational collection !!! | Roberto Ierusalimschy | 2013-08-05 | 1 | -96/+19 | |
| | ||||||
* | 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) |