Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | CallInfo lists shrinks together with their associated stacks | Roberto Ierusalimschy | 2013-09-17 | 1 | -2/+1 | |
| | ||||||
* | GC local pause configurable | Roberto Ierusalimschy | 2013-09-13 | 1 | -27/+19 | |
| | ||||||
* | check for shrinking string table done only at the end of a GC cycle | Roberto Ierusalimschy | 2013-09-11 | 1 | -5/+10 | |
| | ||||||
* | new names and better order for GC states (sweep first lists that | Roberto Ierusalimschy | 2013-09-11 | 1 | -15/+15 | |
| | | | | can have dead objects) | |||||
* | threads are kept in a separated GC list, linked after the main thread | Roberto Ierusalimschy | 2013-09-11 | 1 | -9/+12 | |
| | ||||||
* | detail: 'sweepstep' checks end of phase after calling 'sweeplist', so | Roberto Ierusalimschy | 2013-09-11 | 1 | -6/+7 | |
| | | | | that phases with small lists return 0 at the first call to 'sweepstep' | |||||
* | objects in list 'tobefnz' have a GC life-cycle like all others | Roberto Ierusalimschy | 2013-09-11 | 1 | -9/+12 | |
| | | | | (specifically they are cleaned during sweep phase) | |||||
* | 'luaC_newobj' does not handle special cases; only special case | Roberto Ierusalimschy | 2013-09-11 | 1 | -13/+6 | |
| | | | | now is threads, which do not use 'luaC_newobj' anymore. | |||||
* | local collection now calls finalizers | Roberto Ierusalimschy | 2013-09-03 | 1 | -33/+87 | |
| | ||||||
* | new GC state to sweep 'localgc' list + small changes in sweep control | Roberto Ierusalimschy | 2013-08-30 | 1 | -34/+34 | |
| | ||||||
* | bug: local collection must clear rest of stack | Roberto Ierusalimschy | 2013-08-29 | 1 | -2/+5 | |
| | ||||||
* | tables and userdata all go to local list, too | Roberto Ierusalimschy | 2013-08-28 | 1 | -2/+4 | |
| | ||||||
* | 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 |