3370 Commits (ca3865cf1b1e0195de9d1c71e48305146798cb95)
 

Author SHA1 Message Date
Roberto Ierusalimschy 0fac33da9e bug: incremental sweep was not cleaning old bits (as it stopped in the 15 years ago
Roberto Ierusalimschy 8e1bdda66a stupid bug when calling 'luaC_changemode' (in function lua_gc) 15 years ago
Roberto Ierusalimschy 9c1347e647 more tests in 'lua_checkmemory' + more information in function 15 years ago
Roberto Ierusalimschy b373a40133 new macro 'isgenerational' + new macro 'isold' + better deffinition 15 years ago
Roberto Ierusalimschy 25951e0ea5 some cleaning in 'sweeplist' (threads do not need to be traversed 15 years ago
Roberto Ierusalimschy a4f20e3c8b comments 15 years ago
Roberto Ierusalimschy 8c583c61a3 more tests in 'lua_checkmemory' 15 years ago
Roberto Ierusalimschy d2ea5b00b7 new function 'luaC_changemode' + 15 years ago
Roberto Ierusalimschy d77898597e new function 'luaC_changemode' 15 years ago
Roberto Ierusalimschy 237f755dca typos in comments 15 years ago
Roberto Ierusalimschy 7444b5a1d5 better documentation of GC costs 15 years ago
Roberto Ierusalimschy e7ce7e1850 changes in patch to monitor garbage collection 15 years ago
Roberto Ierusalimschy 3e662cec89 full GC must run finalizers only after finishing everything else 15 years ago
Roberto Ierusalimschy fde866e303 details (comments) 15 years ago
Roberto Ierusalimschy 2d7a81a204 missing parentheses in declaration 15 years ago
Roberto Ierusalimschy 658ea8752b no need to handle '\0' differently from other control chars in 15 years ago
Roberto Ierusalimschy aa73403ba4 no need of a KGC_FORCED collection kind; it has the same behavior of 15 years ago
Roberto Ierusalimschy 0c27de2e7b no more 'finalize' phase in GC; finalizers are called along the 15 years ago
Roberto Ierusalimschy d25f7f9d78 items in 'tobefnz' are kept black (as before recent change) and changed 15 years ago
Roberto Ierusalimschy 85555646e3 invariant must be kept in atomic 'phase' too 15 years ago
Roberto Ierusalimschy 4d871ee973 "gray lists" only need to be valid when 'keepinvariant' is true 15 years ago
Roberto Ierusalimschy b9e1dec2cb added comment explaining a bit about the invariants of the collector 15 years ago
Roberto Ierusalimschy dc2b8a0073 detail 15 years ago
Roberto Ierusalimschy 9a9fe42deb wrong comment 15 years ago
Roberto Ierusalimschy 0062db1e06 default PAUSE should be 200 (differences may be corrected in 15 years ago
Roberto Ierusalimschy 23001d8607 nasty GC bug: upvalue must be turned white when not keeping invariant, 15 years ago
Roberto Ierusalimschy 5d79c6684b removed commented-out debugging code 15 years ago
Roberto Ierusalimschy 3410dcd375 new way to control GC speed 15 years ago
Roberto Ierusalimschy 5a7a0c72d8 'luaC_linkupval' embedded into call site 15 years ago
Roberto Ierusalimschy ee7478e884 improved 'lua_checkmemory', with better control over gray objects 15 years ago
Roberto Ierusalimschy aaa5d7adab 'luaC_linkupval' moved into 'lfunc.c' code + new way to control GC speed 15 years ago
Roberto Ierusalimschy 3eb1788bb4 new way to control GC speed (keeping a 'debt' counter) 15 years ago
Roberto Ierusalimschy 00114a95b2 lots of new comments + small changes in loop controls + other small 15 years ago
Roberto Ierusalimschy 4aaf0ef75c "to-be-finalized" objects marked and sweeped like all other objects 15 years ago
Roberto Ierusalimschy ed720d09f3 upvalue barriers for Lua functions must act on the upvalue itself, 15 years ago
Roberto Ierusalimschy 376e939ef6 missing parentheses around 'luaL_pushresultsize' declaration 15 years ago
Roberto Ierusalimschy 9d28e2b3e5 bug with io.read(op, "*n") 15 years ago
Roberto Ierusalimschy 49ca1f7083 allows thread switches (when/if there are thread switches) in the same 15 years ago
Roberto Ierusalimschy 4db6f20770 ensure that 'luai_userstatethread' is always called (even if 15 years ago
Roberto Ierusalimschy cca71912e6 'gcinfo' was deprecated in version 5.0. 15 years ago
Roberto Ierusalimschy 8003e9544d 'string.format' may get buffer as an argument when there are 15 years ago
Roberto Ierusalimschy 973d81efb3 complete control over number of each kind of object allocated 15 years ago
Roberto Ierusalimschy 26d4a73962 with light C functions, 'pairs' does not need to keep 'next' as an 15 years ago
Roberto Ierusalimschy 99a39f6f4a tells the allocation function that the first block is a thread 15 years ago
Roberto Ierusalimschy 1bb407e494 in lua_gc/step, 'luaC_step' changes GCthreshold, so there was little 15 years ago
Roberto Ierusalimschy 53f9499f7f "light C function" is a better name than "C-function pointer" 15 years ago
Roberto Ierusalimschy 575befc394 comparsion tag methods follow the same rule as other binary TMs 15 years ago
Roberto Ierusalimschy e7ffb1b501 macro LUA_USE_LONGJMP allows choosing longjmp when compiling Lua as 15 years ago
Roberto Ierusalimschy c066ac10a9 better line numbers for function calls and unary/binary operators + 15 years ago
Roberto Ierusalimschy 1e6940f291 'gcstate' now also runs collector until given state + small changes 15 years ago