aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* new API function 'lua_absindex'Roberto Ierusalimschy2010-05-123-13/+19
|
* avoid "strong" castRoberto Ierusalimschy2010-05-111-2/+3
|
* wrong type being assigned (not detected because of obj2gco macro)Roberto Ierusalimschy2010-05-111-2/+2
|
* udata in 'tobefnz' list be have old bit on (it will be clearedRoberto Ierusalimschy2010-05-101-2/+1
| | | | when udata is moved to 'allgc' list)
* corrected some places where an old object could end up in frontRoberto Ierusalimschy2010-05-104-10/+15
| | | | of a new one + minimal documentation about this problem
* new macro 'resetoldbit'Roberto Ierusalimschy2010-05-102-7/+9
|
* macros 'lua_number2int' and 'lua_number2uint' for Visual StudioRoberto Ierusalimschy2010-05-101-11/+12
| | | | corrected and tested
* avoid reserving LUA_RIDX_LAST slots in any table used by referenceRoberto Ierusalimschy2010-05-101-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_ENVIRONINDEXRoberto Ierusalimschy2010-05-101-3/+2
| | | | anymore)
* slightly better definition for 'changenvalue'Roberto Ierusalimschy2010-05-071-3/+2
|
* 'lua_assert' can be empty when assertions are offRoberto Ierusalimschy2010-05-071-2/+2
|
* slightly better definition for 'isgray'Roberto Ierusalimschy2010-05-071-2/+3
|
* avoid 'else assert' (which may result in an empty else)Roberto Ierusalimschy2010-05-071-4/+4
|
* details (to avoid too long strings in assertions)Roberto Ierusalimschy2010-05-071-4/+4
|
* bug: incremental sweep was not cleaning old bits (as it stopped in theRoberto Ierusalimschy2010-05-071-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 Ierusalimschy2010-05-071-3/+6
|
* more tests in 'lua_checkmemory' + more information in functionRoberto Ierusalimschy2010-05-071-17/+29
| | | | 'gccolor'
* new macro 'isgenerational' + new macro 'isold' + better deffinitionRoberto Ierusalimschy2010-05-071-3/+7
| | | | for 'isdead', compatible with the code used by 'sweeplist'
* some cleaning in 'sweeplist' (threads do not need to be traversedRoberto Ierusalimschy2010-05-061-28/+29
| | | | | if they are going to be collected + use of bit masks to unify differences in generational and incremental modes)
* commentsRoberto Ierusalimschy2010-05-061-18/+9
|
* more tests in 'lua_checkmemory'Roberto Ierusalimschy2010-05-061-13/+48
|
* new function 'luaC_changemode' +Roberto Ierusalimschy2010-05-051-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 Ierusalimschy2010-05-052-10/+6
|
* typos in commentsRoberto Ierusalimschy2010-05-053-7/+7
|
* better documentation of GC costsRoberto Ierusalimschy2010-05-051-12/+26
|
* changes in patch to monitor garbage collectionRoberto Ierusalimschy2010-05-041-10/+6
|
* full GC must run finalizers only after finishing everything elseRoberto Ierusalimschy2010-05-041-5/+5
| | | | (including a return to generational mode if needed)
* details (comments)Roberto Ierusalimschy2010-05-041-3/+3
|
* missing parentheses in declarationRoberto Ierusalimschy2010-05-041-2/+2
|
* no need to handle '\0' differently from other control chars inRoberto Ierusalimschy2010-05-041-2/+2
| | | | format '%q'
* no need of a KGC_FORCED collection kind; it has the same behavior ofRoberto Ierusalimschy2010-05-032-9/+7
| | | | a normal collection
* no more 'finalize' phase in GC; finalizers are called along theRoberto Ierusalimschy2010-05-033-31/+33
| | | | entire cycle
* items in 'tobefnz' are kept black (as before recent change) and changedRoberto Ierusalimschy2010-05-032-9/+15
| | | | | to white only when needed (being moved to 'allgc' when not keeping invariant).
* invariant must be kept in atomic 'phase' tooRoberto Ierusalimschy2010-05-031-9/+9
|
* "gray lists" only need to be valid when 'keepinvariant' is trueRoberto Ierusalimschy2010-04-302-15/+11
|
* added comment explaining a bit about the invariants of the collectorRoberto Ierusalimschy2010-04-301-1/+14
|
* detailRoberto Ierusalimschy2010-04-301-3/+2
|
* wrong commentRoberto Ierusalimschy2010-04-301-2/+2
|
* default PAUSE should be 200 (differences may be corrected inRoberto Ierusalimschy2010-04-301-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 Ierusalimschy2010-04-293-9/+26
| | | | but barrier was not being called when uv->v were already white.
* removed commented-out debugging codeRoberto Ierusalimschy2010-04-291-3/+1
|
* new way to control GC speedRoberto Ierusalimschy2010-04-292-16/+26
|
* 'luaC_linkupval' embedded into call siteRoberto Ierusalimschy2010-04-291-4/+10
|
* improved 'lua_checkmemory', with better control over gray objectsRoberto Ierusalimschy2010-04-291-24/+45
|
* 'luaC_linkupval' moved into 'lfunc.c' code + new way to control GC speedRoberto Ierusalimschy2010-04-292-80/+80
|
* new way to control GC speed (keeping a 'debt' counter)Roberto Ierusalimschy2010-04-293-10/+11
|
* lots of new comments + small changes in loop controls + other smallRoberto Ierusalimschy2010-04-261-117/+161
| | | | "janitor work"
* "to-be-finalized" objects marked and sweeped like all other objectsRoberto Ierusalimschy2010-04-201-13/+13
|
* upvalue barriers for Lua functions must act on the upvalue itself,Roberto Ierusalimschy2010-04-201-6/+10
| | | | not on its closure
* missing parentheses around 'luaL_pushresultsize' declarationRoberto Ierusalimschy2010-04-191-2/+2
|