Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | corrected definition of 'lua_register' (there is no LUA_ENVIRONINDEX | Roberto Ierusalimschy | 2010-05-10 | 1 | -3/+2 |
| | | | | anymore) | ||||
* | slightly better definition for 'changenvalue' | Roberto Ierusalimschy | 2010-05-07 | 1 | -3/+2 |
| | |||||
* | 'lua_assert' can be empty when assertions are off | Roberto Ierusalimschy | 2010-05-07 | 1 | -2/+2 |
| | |||||
* | slightly better definition for 'isgray' | Roberto Ierusalimschy | 2010-05-07 | 1 | -2/+3 |
| | |||||
* | avoid 'else assert' (which may result in an empty else) | Roberto Ierusalimschy | 2010-05-07 | 1 | -4/+4 |
| | |||||
* | details (to avoid too long strings in assertions) | Roberto Ierusalimschy | 2010-05-07 | 1 | -4/+4 |
| | |||||
* | bug: incremental sweep was not cleaning old bits (as it stopped in the | Roberto Ierusalimschy | 2010-05-07 | 1 | -28/+28 |
| | | | | | | first old object) + bug: moving udata to 'udgc' list might put old object in front a new one + some new macros + generational mode may be in 'pause' state (it just skips 'markroot') | ||||
* | stupid bug when calling 'luaC_changemode' (in function lua_gc) | Roberto Ierusalimschy | 2010-05-07 | 1 | -3/+6 |
| | |||||
* | more tests in 'lua_checkmemory' + more information in function | Roberto Ierusalimschy | 2010-05-07 | 1 | -17/+29 |
| | | | | 'gccolor' | ||||
* | 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' | ||||
* | some cleaning in 'sweeplist' (threads do not need to be traversed | Roberto Ierusalimschy | 2010-05-06 | 1 | -28/+29 |
| | | | | | if they are going to be collected + use of bit masks to unify differences in generational and incremental modes) | ||||
* | comments | Roberto Ierusalimschy | 2010-05-06 | 1 | -18/+9 |
| | |||||
* | more tests in 'lua_checkmemory' | Roberto Ierusalimschy | 2010-05-06 | 1 | -13/+48 |
| | |||||
* | new function 'luaC_changemode' + | Roberto Ierusalimschy | 2010-05-05 | 1 | -13/+42 |
| | | | | | | | bug: objects entering the 'allgc' list must have their OLDBIT cleared (upvalues being cleared) + bug: in 'checkSizes', KGC_EMERGENCY is stored in 'gckind' field, not in 'gcstate' + current white changes when entering sweep phase (so there are dead objects only in that phase) | ||||
* | new function 'luaC_changemode' | Roberto Ierusalimschy | 2010-05-05 | 2 | -10/+6 |
| | |||||
* | typos in comments | Roberto Ierusalimschy | 2010-05-05 | 3 | -7/+7 |
| | |||||
* | better documentation of GC costs | Roberto Ierusalimschy | 2010-05-05 | 1 | -12/+26 |
| | |||||
* | changes in patch to monitor garbage collection | Roberto Ierusalimschy | 2010-05-04 | 1 | -10/+6 |
| | |||||
* | full GC must run finalizers only after finishing everything else | Roberto Ierusalimschy | 2010-05-04 | 1 | -5/+5 |
| | | | | (including a return to generational mode if needed) | ||||
* | details (comments) | Roberto Ierusalimschy | 2010-05-04 | 1 | -3/+3 |
| | |||||
* | missing parentheses in declaration | Roberto Ierusalimschy | 2010-05-04 | 1 | -2/+2 |
| | |||||
* | no need to handle '\0' differently from other control chars in | Roberto Ierusalimschy | 2010-05-04 | 1 | -2/+2 |
| | | | | format '%q' | ||||
* | no need of a KGC_FORCED collection kind; it has the same behavior of | Roberto Ierusalimschy | 2010-05-03 | 2 | -9/+7 |
| | | | | a normal collection | ||||
* | no more 'finalize' phase in GC; finalizers are called along the | Roberto Ierusalimschy | 2010-05-03 | 3 | -31/+33 |
| | | | | entire cycle | ||||
* | items in 'tobefnz' are kept black (as before recent change) and changed | Roberto Ierusalimschy | 2010-05-03 | 2 | -9/+15 |
| | | | | | to white only when needed (being moved to 'allgc' when not keeping invariant). | ||||
* | invariant must be kept in atomic 'phase' too | Roberto Ierusalimschy | 2010-05-03 | 1 | -9/+9 |
| | |||||
* | "gray lists" only need to be valid when 'keepinvariant' is true | Roberto Ierusalimschy | 2010-04-30 | 2 | -15/+11 |
| | |||||
* | added comment explaining a bit about the invariants of the collector | Roberto Ierusalimschy | 2010-04-30 | 1 | -1/+14 |
| | |||||
* | detail | Roberto Ierusalimschy | 2010-04-30 | 1 | -3/+2 |
| | |||||
* | wrong comment | Roberto Ierusalimschy | 2010-04-30 | 1 | -2/+2 |
| | |||||
* | default PAUSE should be 200 (differences may be corrected in | Roberto Ierusalimschy | 2010-04-30 | 1 | -6/+6 |
| | | | | | internal multiplers) + check for unbilt stack equal the one used by lgc.c | ||||
* | nasty GC bug: upvalue must be turned white when not keeping invariant, | Roberto Ierusalimschy | 2010-04-29 | 3 | -9/+26 |
| | | | | but barrier was not being called when uv->v were already white. | ||||
* | removed commented-out debugging code | Roberto Ierusalimschy | 2010-04-29 | 1 | -3/+1 |
| | |||||
* | new way to control GC speed | Roberto Ierusalimschy | 2010-04-29 | 2 | -16/+26 |
| | |||||
* | 'luaC_linkupval' embedded into call site | Roberto Ierusalimschy | 2010-04-29 | 1 | -4/+10 |
| | |||||
* | improved 'lua_checkmemory', with better control over gray objects | Roberto Ierusalimschy | 2010-04-29 | 1 | -24/+45 |
| | |||||
* | 'luaC_linkupval' moved into 'lfunc.c' code + new way to control GC speed | Roberto Ierusalimschy | 2010-04-29 | 2 | -80/+80 |
| | |||||
* | new way to control GC speed (keeping a 'debt' counter) | Roberto Ierusalimschy | 2010-04-29 | 3 | -10/+11 |
| | |||||
* | 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 |
| | |||||
* | upvalue barriers for Lua functions must act on the upvalue itself, | Roberto Ierusalimschy | 2010-04-20 | 1 | -6/+10 |
| | | | | not on its closure | ||||
* | missing parentheses around 'luaL_pushresultsize' declaration | Roberto Ierusalimschy | 2010-04-19 | 1 | -2/+2 |
| | |||||
* | bug with io.read(op, "*n") | Roberto Ierusalimschy | 2010-04-19 | 1 | -4/+14 |
| | |||||
* | allows thread switches (when/if there are thread switches) in the same | Roberto Ierusalimschy | 2010-04-19 | 1 | -5/+7 |
| | | | | places that finalizers can run (so they should be safe...) | ||||
* | ensure that 'luai_userstatethread' is always called (even if | Roberto Ierusalimschy | 2010-04-19 | 3 | -11/+12 |
| | | | | 'stack_init' throws a memory error) | ||||
* | 'gcinfo' was deprecated in version 5.0. | Roberto Ierusalimschy | 2010-04-19 | 1 | -8/+1 |
| | |||||
* | 'string.format' may get buffer as an argument when there are | Roberto Ierusalimschy | 2010-04-19 | 1 | -2/+14 |
| | | | | missing arguments and format string is too long | ||||
* | complete control over number of each kind of object allocated | Roberto Ierusalimschy | 2010-04-19 | 1 | -46/+53 |
| | |||||
* | with light C functions, 'pairs' does not need to keep 'next' as an | Roberto Ierusalimschy | 2010-04-19 | 1 | -18/+8 |
| | | | | upvalue. | ||||
* | tells the allocation function that the first block is a thread | Roberto Ierusalimschy | 2010-04-19 | 1 | -2/+2 |
| |