Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | in lua_gc/step, 'luaC_step' changes GCthreshold, so there was little | Roberto Ierusalimschy | 2010-04-19 | 1 | -4/+2 |
| | | | | control over the real step size. | ||||
* | "light C function" is a better name than "C-function pointer" | Roberto Ierusalimschy | 2010-04-18 | 6 | -19/+19 |
| | |||||
* | comparsion tag methods follow the same rule as other binary TMs | Roberto Ierusalimschy | 2010-04-18 | 1 | -20/+12 |
| | |||||
* | macro LUA_USE_LONGJMP allows choosing longjmp when compiling Lua as | Roberto Ierusalimschy | 2010-04-18 | 1 | -2/+2 |
| | | | | C++ code | ||||
* | better line numbers for function calls and unary/binary operators + | Roberto Ierusalimschy | 2010-04-17 | 3 | -20/+27 |
| | | | | null statement + no more "ambiguous syntax" restriction | ||||
* | 'gcstate' now also runs collector until given state + small changes | Roberto Ierusalimschy | 2010-04-16 | 1 | -21/+22 |
| | | | | in 'testC' to test 'lua_topointer' and 'lua_tocfunction' | ||||
* | new escape sequence '\*' + several comments + moving options from | Roberto Ierusalimschy | 2010-04-16 | 1 | -42/+62 |
| | | | | switch default into cases (as now locale is fixed) | ||||
* | no need to avoid calling ctype functions as now they are implemented | Roberto Ierusalimschy | 2010-04-15 | 1 | -4/+2 |
| | | | | by us (no inefficiencies due to accessing locale information) | ||||
* | invalid instructions "cannot" happen | Roberto Ierusalimschy | 2010-04-15 | 1 | -3/+2 |
| | |||||
* | no more 'ccall' nor 'cpcall' functions. (With light C functions they | Roberto Ierusalimschy | 2010-04-14 | 5 | -40/+8 |
| | | | | are obsolete.) | ||||
* | first implementation of light C functions | Roberto Ierusalimschy | 2010-04-14 | 11 | -88/+141 |
| | |||||
* | BUG: 'string.format' may get buffer when there are missing arguments | Roberto Ierusalimschy | 2010-04-12 | 1 | -4/+15 |
| | |||||
* | better control in 'totalmem' over choosing counters | Roberto Ierusalimschy | 2010-04-12 | 1 | -8/+18 |
| | |||||
* | new macro LUA_NUMTAGS | Roberto Ierusalimschy | 2010-04-12 | 6 | -19/+15 |
| | |||||
* | check memory allows strings to live in the main GC list (it should | Roberto Ierusalimschy | 2010-04-12 | 1 | -1/+2 |
| | | | | work ok). | ||||
* | patterns now accept '\0' as a regular character | Roberto Ierusalimschy | 2010-04-12 | 1 | -28/+38 |
| | |||||
* | new implementation for Generic Buffer manipulation (using userdata as | Roberto Ierusalimschy | 2010-04-09 | 3 | -103/+93 |
| | | | | temporary buffer space) | ||||
* | keep memory-error message in the global state, so that its use | Roberto Ierusalimschy | 2010-04-08 | 4 | -9/+13 |
| | | | | | does not depend on Lua internalizing strings to avoid a string creation on memory errors |