Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | new API function 'lua_absindex' | Roberto Ierusalimschy | 2010-05-12 | 3 | -13/+19 |
| | |||||
* | avoid "strong" cast | Roberto Ierusalimschy | 2010-05-11 | 1 | -2/+3 |
| | |||||
* | wrong type being assigned (not detected because of obj2gco macro) | Roberto Ierusalimschy | 2010-05-11 | 1 | -2/+2 |
| | |||||
* | udata in 'tobefnz' list be have old bit on (it will be cleared | Roberto Ierusalimschy | 2010-05-10 | 1 | -2/+1 |
| | | | | when udata is moved to 'allgc' list) | ||||
* | corrected some places where an old object could end up in front | Roberto Ierusalimschy | 2010-05-10 | 4 | -10/+15 |
| | | | | of a new one + minimal documentation about this problem | ||||
* | new macro 'resetoldbit' | Roberto Ierusalimschy | 2010-05-10 | 2 | -7/+9 |
| | |||||
* | macros 'lua_number2int' and 'lua_number2uint' for Visual Studio | Roberto Ierusalimschy | 2010-05-10 | 1 | -11/+12 |
| | | | | corrected and tested | ||||
* | avoid reserving LUA_RIDX_LAST slots in any table used by reference | Roberto Ierusalimschy | 2010-05-10 | 1 | -15/+9 |
| | | | | | system. Store free list in a field indexed by a unique name, instead of using a numerical index. | ||||
* | 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 |
| |