aboutsummaryrefslogtreecommitdiff
path: root/lgc.c (unfollow)
Commit message (Expand)AuthorFilesLines
2010-05-07'lua_assert' can be empty when assertions are offRoberto Ierusalimschy1-2/+2
2010-05-07slightly better definition for 'isgray'Roberto Ierusalimschy1-2/+3
2010-05-07avoid 'else assert' (which may result in an empty else)Roberto Ierusalimschy1-4/+4
2010-05-07details (to avoid too long strings in assertions)Roberto Ierusalimschy1-4/+4
2010-05-07bug: incremental sweep was not cleaning old bits (as it stopped in theRoberto Ierusalimschy1-28/+28
2010-05-07stupid bug when calling 'luaC_changemode' (in function lua_gc)Roberto Ierusalimschy1-3/+6
2010-05-07more tests in 'lua_checkmemory' + more information in functionRoberto Ierusalimschy1-17/+29
2010-05-07new macro 'isgenerational' + new macro 'isold' + better deffinitionRoberto Ierusalimschy1-3/+7
2010-05-06some cleaning in 'sweeplist' (threads do not need to be traversedRoberto Ierusalimschy1-28/+29
2010-05-06commentsRoberto Ierusalimschy1-18/+9
2010-05-06more tests in 'lua_checkmemory'Roberto Ierusalimschy1-13/+48
2010-05-05new function 'luaC_changemode' +Roberto Ierusalimschy1-13/+42
2010-05-05new function 'luaC_changemode'Roberto Ierusalimschy2-10/+6
2010-05-05typos in commentsRoberto Ierusalimschy3-7/+7
2010-05-05better documentation of GC costsRoberto Ierusalimschy1-12/+26
2010-05-04changes in patch to monitor garbage collectionRoberto Ierusalimschy1-10/+6
2010-05-04full GC must run finalizers only after finishing everything elseRoberto Ierusalimschy1-5/+5
2010-05-04details (comments)Roberto Ierusalimschy1-3/+3
2010-05-04missing parentheses in declarationRoberto Ierusalimschy1-2/+2
2010-05-04no need to handle '\0' differently from other control chars inRoberto Ierusalimschy1-2/+2
2010-05-03no need of a KGC_FORCED collection kind; it has the same behavior ofRoberto Ierusalimschy2-9/+7
2010-05-03no more 'finalize' phase in GC; finalizers are called along theRoberto Ierusalimschy3-31/+33
2010-05-03items in 'tobefnz' are kept black (as before recent change) and changedRoberto Ierusalimschy2-9/+15
2010-05-03invariant must be kept in atomic 'phase' tooRoberto Ierusalimschy1-9/+9
2010-04-30"gray lists" only need to be valid when 'keepinvariant' is trueRoberto Ierusalimschy2-15/+11
2010-04-30added comment explaining a bit about the invariants of the collectorRoberto Ierusalimschy1-1/+14
2010-04-30detailRoberto Ierusalimschy1-3/+2
2010-04-30wrong commentRoberto Ierusalimschy1-2/+2
2010-04-30default PAUSE should be 200 (differences may be corrected inRoberto Ierusalimschy1-6/+6
2010-04-29nasty GC bug: upvalue must be turned white when not keeping invariant,Roberto Ierusalimschy3-9/+26
2010-04-29removed commented-out debugging codeRoberto Ierusalimschy1-3/+1
2010-04-29new way to control GC speedRoberto Ierusalimschy2-16/+26
2010-04-29'luaC_linkupval' embedded into call siteRoberto Ierusalimschy1-4/+10
2010-04-29improved 'lua_checkmemory', with better control over gray objectsRoberto Ierusalimschy1-24/+45
2010-04-29'luaC_linkupval' moved into 'lfunc.c' code + new way to control GC speedRoberto Ierusalimschy2-80/+80
2010-04-29new way to control GC speed (keeping a 'debt' counter)Roberto Ierusalimschy3-10/+11
2010-04-26lots of new comments + small changes in loop controls + other smallRoberto Ierusalimschy1-117/+161
2010-04-20"to-be-finalized" objects marked and sweeped like all other objectsRoberto Ierusalimschy1-13/+13
2010-04-20upvalue barriers for Lua functions must act on the upvalue itself,Roberto Ierusalimschy1-6/+10
2010-04-19missing parentheses around 'luaL_pushresultsize' declarationRoberto Ierusalimschy1-2/+2
2010-04-19bug with io.read(op, "*n")Roberto Ierusalimschy1-4/+14
2010-04-19allows thread switches (when/if there are thread switches) in the sameRoberto Ierusalimschy1-5/+7
2010-04-19ensure that 'luai_userstatethread' is always called (even ifRoberto Ierusalimschy3-11/+12
2010-04-19'gcinfo' was deprecated in version 5.0.Roberto Ierusalimschy1-8/+1
2010-04-19'string.format' may get buffer as an argument when there areRoberto Ierusalimschy1-2/+14
2010-04-19complete control over number of each kind of object allocatedRoberto Ierusalimschy1-46/+53
2010-04-19with light C functions, 'pairs' does not need to keep 'next' as anRoberto Ierusalimschy1-18/+8
2010-04-19tells the allocation function that the first block is a threadRoberto Ierusalimschy1-2/+2
2010-04-19in lua_gc/step, 'luaC_step' changes GCthreshold, so there was littleRoberto Ierusalimschy1-4/+2
2010-04-18"light C function" is a better name than "C-function pointer"Roberto Ierusalimschy6-19/+19