Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | "gray lists" only need to be valid when 'keepinvariant' is true | Roberto Ierusalimschy | 2010-04-30 | 1 | -13/+8 | |
| | ||||||
* | nasty GC bug: upvalue must be turned white when not keeping invariant, | Roberto Ierusalimschy | 2010-04-29 | 1 | -1/+21 | |
| | | | | 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 | -76/+60 | |
| | ||||||
* | lots of new comments + small changes in loop controls + other small | Roberto Ierusalimschy | 2010-04-26 | 1 | -117/+161 | |
| | | | | "janitor work" | |||||
* | "to-be-finalized" objects marked and sweeped like all other objects | Roberto Ierusalimschy | 2010-04-20 | 1 | -13/+13 | |
| | ||||||
* | new macro LUA_NUMTAGS | Roberto Ierusalimschy | 2010-04-12 | 1 | -2/+2 | |
| | ||||||
* | cannot sweep main thread in sweepstring phase | Roberto Ierusalimschy | 2010-04-05 | 1 | -7/+16 | |
| | ||||||
* | added proper code to trace garbage collection | Roberto Ierusalimschy | 2010-04-02 | 1 | -7/+1 | |
| | ||||||
* | global table now is only kept in the registry | Roberto Ierusalimschy | 2010-03-29 | 1 | -3/+1 | |
| | ||||||
* | no more fenvs! | Roberto Ierusalimschy | 2010-03-26 | 1 | -5/+2 | |
| | ||||||
* | major collections in generational mode | Roberto Ierusalimschy | 2010-03-25 | 1 | -6/+14 | |
| | ||||||
* | 'mainthread' is not inserted in the 'allgc' list anymore, but swept | Roberto Ierusalimschy | 2010-03-25 | 1 | -9/+10 | |
| | | | | separately. | |||||
* | generational mode no longer sweep old objects | Roberto Ierusalimschy | 2010-03-24 | 1 | -18/+38 | |
| | ||||||
* | userdata with finalizers are kept in a separated list ('udgc'), instead | Roberto Ierusalimschy | 2010-03-24 | 1 | -26/+30 | |
| | | | | | of at the end of 'rootgc' (which was renamed to 'allgc', as it is not "root" in the usual meaning for collectors) | |||||
* | BUG: emergency collector might resize 'strt' (string table) when | Roberto Ierusalimschy | 2010-03-23 | 1 | -11/+27 | |
| | | | | | | | creating a new string + atomic and markroot steps has some cost + full collection must leave collector in proper state when mode is generational | |||||
* | draft version of a generational mode for garbage collection. (Not well | Roberto Ierusalimschy | 2010-03-22 | 1 | -27/+54 | |
| | | | | tested; no major collections; ...) | |||||
* | no more pseudoindex LUA_GLOBALSINDEX; global table now accessible | Roberto Ierusalimschy | 2009-12-22 | 1 | -4/+3 | |
| | | | | through registry | |||||
* | allocator function receives the tag of object being allocated in 'osize' | Roberto Ierusalimschy | 2009-12-17 | 1 | -4/+12 | |
| | | | | 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 | -8/+20 | |
| | ||||||
* | comment typos | Roberto Ierusalimschy | 2009-11-26 | 1 | -2/+2 | |
| | ||||||
* | (huge) simplification of GC management | Roberto Ierusalimschy | 2009-11-18 | 1 | -91/+42 | |
| | ||||||
* | registry and global table may be changed through the API without a | Roberto Ierusalimschy | 2009-11-09 | 1 | -1/+4 | |
| | | | | write barrier, so GC should visit them in the atomic phase. | |||||
* | avoid using 'ttype' when there is an explicit test + macro 'checkdeadkey' | Roberto Ierusalimschy | 2009-11-06 | 1 | -5/+7 | |
| | | | | to avoid repetitions | |||||
* | better control over accesses to TValue fields | Roberto Ierusalimschy | 2009-11-05 | 1 | -4/+4 | |
| | ||||||
* | no more one environment per thread: all threads share a single global | Roberto Ierusalimschy | 2009-10-23 | 1 | -5/+4 | |
| | | | | environment | |||||
* | information about upvalues (where they come from) kept in Proto structure, | Roberto Ierusalimschy | 2009-09-28 | 1 | -4/+4 | |
| | | | | instead of sequence of pseudo-opcodes after OP_CLOSURE | |||||
* | some operations may shrink g->totalbytes so g->estimate must be | Roberto Ierusalimschy | 2009-09-28 | 1 | -4/+9 | |
| | | | | more flexible | |||||
* | bug: stack must be cleared until its end (including extra size) + | Roberto Ierusalimschy | 2009-07-16 | 1 | -26/+9 | |
| | | | | control of stack size moved to 'ldo.c' | |||||
* | new macro 'condmovestack' instead of 'condhardstacktests' | Roberto Ierusalimschy | 2009-06-08 | 1 | -2/+2 | |
| | ||||||
* | errors in finalizers are propagated with code LUA_ERRGCMM (ERRor in | Roberto Ierusalimschy | 2009-05-21 | 1 | -6/+15 | |
| | | | | __gc MetaMethod) | |||||
* | resize string hash table only when new size is smaller than current one | Roberto Ierusalimschy | 2009-04-29 | 1 | -3/+7 | |
| | ||||||
* | new way to GC stacks: the entire stack must be correct all the times; | Roberto Ierusalimschy | 2009-04-28 | 1 | -30/+40 | |
| | | | | | the 'dead' part of a stack (after the top) must have only nil's, so that 'top' may go up without cleaning the stack. | |||||
* | 'CallInfo' stack implemented as double-linked list instead of an array | Roberto Ierusalimschy | 2009-04-17 | 1 | -20/+19 | |
| | ||||||
* | yielding across lua_call (first version) | Roberto Ierusalimschy | 2009-03-10 | 1 | -2/+2 | |
| | ||||||
* | finalizers always called protected | Roberto Ierusalimschy | 2009-02-17 | 1 | -2/+8 | |
| | ||||||
* | simplification in the handling of finalizers: no more 'tmudata' list + | Roberto Ierusalimschy | 2008-06-26 | 1 | -72/+34 | |
| | | | | no more GCSsweeptmu collector's state | |||||
* | bug: when closing the state, 'luaC_separateudata' might mark | Roberto Ierusalimschy | 2008-06-23 | 1 | -5/+3 | |
| | | | | | userdata in the wrong phase of collection, therefore avoiding their traversal | |||||
* | code reorganization (only changed comments and order of functions) | Roberto Ierusalimschy | 2008-06-23 | 1 | -154/+203 | |
| | ||||||
* | userdata with finalizers are kept in a separated list | Roberto Ierusalimschy | 2008-02-19 | 1 | -102/+135 | |
| | ||||||
* | more options for 'kinds' of Garbage Collection + more agressive | Roberto Ierusalimschy | 2008-02-11 | 1 | -29/+26 | |
| | | | | shrinking of stacks and string hash | |||||
* | first implementation of ephemerons | Roberto Ierusalimschy | 2007-10-31 | 1 | -43/+77 | |
| | ||||||
* | some changes toward ephemerons | Roberto Ierusalimschy | 2007-10-29 | 1 | -46/+89 | |
| | ||||||
* | avoid trailing white spaces | Roberto Ierusalimschy | 2006-09-11 | 1 | -4/+4 | |
| | ||||||
* | emergency garbage collector (core forces a GC when allocation fails) | Roberto Ierusalimschy | 2006-07-11 | 1 | -30/+46 | |
| | ||||||
* | bug: collector did not compensate enough for userdata with finalizers | Roberto Ierusalimschy | 2006-05-24 | 1 | -4/+8 | |
| | ||||||
* | small changes in casts | Roberto Ierusalimschy | 2005-12-22 | 1 | -9/+8 | |
| | ||||||
* | details | Roberto Ierusalimschy | 2005-08-24 | 1 | -5/+1 | |
| | ||||||
* | a small bug | Roberto Ierusalimschy | 2005-08-04 | 1 | -3/+3 | |
| | ||||||
* | small bug (type error) | Roberto Ierusalimschy | 2005-06-07 | 1 | -3/+4 | |
| |