Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | change in string table: string table is now independent of GC lists; all | Roberto Ierusalimschy | 2013-08-21 | 1 | -6/+5 | |
| | | | | strings live in 'normal' GC lists | |||||
* | GC bits SEPARATED and FINALIZEDBIT mixed in FINALIZEDBIT (with simpler | Roberto Ierusalimschy | 2013-08-20 | 1 | -5/+5 | |
| | | | | control) | |||||
* | "barrier" for link prototype->cache changed to be consistent with | Roberto Ierusalimschy | 2013-08-19 | 1 | -4/+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 | -6/+14 | |
| | ||||||
* | barrier conditions rewritten to test first 'isblack' and then 'iswhite' | Roberto Ierusalimschy | 2013-08-13 | 1 | -8/+8 | |
| | | | | | (during a pause all objects are white, so 'isblack' fails much more often than 'iswhite') | |||||
* | no more generational collection !!! | Roberto Ierusalimschy | 2013-08-05 | 1 | -23/+5 | |
| | ||||||
* | small bug: generational mode is always in 'propagate' mode only | Roberto Ierusalimschy | 2012-09-11 | 1 | -5/+14 | |
| | | | | | 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 | -3/+4 | |
| | | | | not running a collection | |||||
* | definition of 'GCSTEPSIZE' moved to header file + small changes | Roberto Ierusalimschy | 2012-05-23 | 1 | -5/+11 | |
| | ||||||
* | simpler macro 'luaC_condGC' + better 'step' in 'lua_gc' + | Roberto Ierusalimschy | 2012-05-21 | 1 | -2/+2 | |
| | | | | | micro bug in 'luaC_checkfinalizer' (current sweep object could be removed from 'allgc' list) | |||||
* | test for whether collector is running moved from function to | Roberto Ierusalimschy | 2012-05-11 | 1 | -2/+2 | |
| | | | | macro 'luaC_condGC'. | |||||
* | documentation comment (small correction about strings being | Roberto Ierusalimschy | 2012-01-23 | 1 | -3/+5 | |
| | | | | gray) | |||||
* | 'luaC_separateudata' renamed to 'separatetobefnz' and called only | Roberto Ierusalimschy | 2011-10-03 | 1 | -2/+1 | |
| | | | | from 'lgc.c' | |||||
* | lint (unused macros) | Roberto Ierusalimschy | 2011-09-30 | 1 | -4/+1 | |
| | ||||||
* | detail (cleaning trailing spaces) | Roberto Ierusalimschy | 2011-01-26 | 1 | -2/+2 | |
| | ||||||
* | full collection does not restart collector + avoid changing GC | Roberto Ierusalimschy | 2010-12-29 | 1 | -1/+2 | |
| | | | | state if an error happens in a step | |||||
* | better control for GC running or stopped | Roberto Ierusalimschy | 2010-12-20 | 1 | -5/+1 | |
| | ||||||
* | new macro 'luaC_condGC' to allow extra code to be run in case | Roberto Ierusalimschy | 2010-12-17 | 1 | -2/+4 | |
| | | | | of GC steps | |||||
* | comments | Roberto Ierusalimschy | 2010-12-02 | 1 | -3/+3 | |
| | ||||||
* | finalizers (__gc) for tables | Roberto Ierusalimschy | 2010-11-26 | 1 | -2/+2 | |
| | ||||||
* | typo in comments | Roberto Ierusalimschy | 2010-06-30 | 1 | -2/+2 | |
| | ||||||
* | better barrier for prototypes | Roberto Ierusalimschy | 2010-06-07 | 1 | -4/+4 | |
| | ||||||
* | Lua closures are cached for reuse | Roberto Ierusalimschy | 2010-06-04 | 1 | -9/+13 | |
| | ||||||
* | corrected some places where an old object could end up in front | Roberto Ierusalimschy | 2010-05-10 | 1 | -1/+4 | |
| | | | | of a new one + minimal documentation about this problem | |||||
* | new macro 'resetoldbit' | Roberto Ierusalimschy | 2010-05-10 | 1 | -1/+3 | |
| | ||||||
* | slightly better definition for 'isgray' | Roberto Ierusalimschy | 2010-05-07 | 1 | -2/+3 | |
| | ||||||
* | new macro 'isgenerational' + new macro 'isold' + better deffinition | Roberto Ierusalimschy | 2010-05-07 | 1 | -3/+7 | |
| | | | | for 'isdead', compatible with the code used by 'sweeplist' | |||||
* | comments | Roberto Ierusalimschy | 2010-05-06 | 1 | -18/+9 | |
| | ||||||
* | new function 'luaC_changemode' | Roberto Ierusalimschy | 2010-05-05 | 1 | -1/+2 | |
| | ||||||
* | no more 'finalize' phase in GC; finalizers are called along the | Roberto Ierusalimschy | 2010-05-03 | 1 | -3/+2 | |
| | | | | entire cycle | |||||
* | invariant must be kept in atomic 'phase' too | Roberto Ierusalimschy | 2010-05-03 | 1 | -9/+9 | |
| | ||||||
* | added comment explaining a bit about the invariants of the collector | Roberto Ierusalimschy | 2010-04-30 | 1 | -1/+14 | |
| | ||||||
* | nasty GC bug: upvalue must be turned white when not keeping invariant, | Roberto Ierusalimschy | 2010-04-29 | 1 | -2/+3 | |
| | | | | but barrier was not being called when uv->v were already white. | |||||
* | 'luaC_linkupval' moved into 'lfunc.c' code + new way to control GC speed | Roberto Ierusalimschy | 2010-04-29 | 1 | -4/+20 | |
| | ||||||
* | 'mainthread' is not inserted in the 'allgc' list anymore, but swept | Roberto Ierusalimschy | 2010-03-25 | 1 | -5/+3 | |
| | | | | separately. | |||||
* | generational mode no longer sweep old objects | Roberto Ierusalimschy | 2010-03-24 | 1 | -1/+3 | |
| | ||||||
* | userdata with finalizers are kept in a separated list ('udgc'), instead | Roberto Ierusalimschy | 2010-03-24 | 1 | -6/+6 | |
| | | | | | of at the end of 'rootgc' (which was renamed to 'allgc', as it is not "root" in the usual meaning for collectors) | |||||
* | allocator function receives the tag of object being allocated in 'osize' | Roberto Ierusalimschy | 2009-12-17 | 1 | -2/+3 | |
| | | | | when 'ptr' is NULL. | |||||
* | better to keep GC state numbers sequential, to optimize switch in | Roberto Ierusalimschy | 2009-12-11 | 1 | -8/+8 | |
| | | | | 'singlestep' | |||||
* | new function 'luaC_runtilstate' to advance GC until a "valid" state | Roberto Ierusalimschy | 2009-12-11 | 1 | -9/+8 | |
| | ||||||
* | comment typos | Roberto Ierusalimschy | 2009-11-26 | 1 | -2/+2 | |
| | ||||||
* | (huge) simplification of GC management | Roberto Ierusalimschy | 2009-11-18 | 1 | -4/+3 | |
| | ||||||
* | when doing hard memory tests, perform a full GC at every possible step | Roberto Ierusalimschy | 2009-11-17 | 1 | -2/+2 | |
| | ||||||
* | new macro 'condmovestack' instead of 'condhardstacktests' | Roberto Ierusalimschy | 2009-06-08 | 1 | -5/+3 | |
| | ||||||
* | new way to GC stacks: the entire stack must be correct all the times; | Roberto Ierusalimschy | 2009-04-28 | 1 | -4/+5 | |
| | | | | | the 'dead' part of a stack (after the top) must have only nil's, so that 'top' may go up without cleaning the stack. | |||||
* | simplification in the handling of finalizers: no more 'tmudata' list + | Roberto Ierusalimschy | 2008-06-26 | 1 | -16/+14 | |
| | | | | no more GCSsweeptmu collector's state | |||||
* | userdata with finalizers are kept in a separated list | Roberto Ierusalimschy | 2008-02-19 | 1 | -5/+12 | |
| | ||||||
* | some changes toward ephemerons | Roberto Ierusalimschy | 2007-10-29 | 1 | -5/+1 | |
| | ||||||
* | emergency garbage collector (core forces a GC when allocation fails) | Roberto Ierusalimschy | 2006-07-11 | 1 | -2/+2 | |
| | ||||||
* | some bugs related to stack reallocation | Roberto Ierusalimschy | 2005-08-24 | 1 | -2/+4 | |
| |