460 Commits (72a094bda7d71050a91a88474d67d39aa2bc1c46)

Author SHA1 Message Date
Roberto Ierusalimschy 2a66b34f72 revamp of the GC pace control; more like 5.1: any X Kbytes allocated 13 years ago
Roberto Ierusalimschy ea980fdeef removed 'stringmark' trick 13 years ago
Roberto Ierusalimschy 31829ad177 test for whether collector is running moved from function to 13 years ago
Roberto Ierusalimschy 3cadc37f47 no more 'Proto' objects on the stack. Protos are anchored on outer 13 years ago
Roberto Ierusalimschy a4b96ce9a3 first implementation of long strings 13 years ago
Roberto Ierusalimschy fb6eee2805 Lua never uses Ã'assert' (it is always 'lua_assert') 13 years ago
Roberto Ierusalimschy fd22ccd6d0 object tag keeps variant bits too -> no need for 'isC' field in 13 years ago
Roberto Ierusalimschy 01747f2c24 error message: "tag method" -> "metamethod" 13 years ago
Roberto Ierusalimschy 217b65e6d9 avoid some warnings about converting 32-bit shifts into 64-bit results 13 years ago
Roberto Ierusalimschy 788a0ecd27 'luaC_separateudata' renamed to 'separatetobefnz' and called only 13 years ago
Roberto Ierusalimschy bc90cf4b83 retraverse all gray lists together to avoid traversing some weak 13 years ago
Roberto Ierusalimschy 87912786af dead objects are not collectable. 13 years ago
Roberto Ierusalimschy 95ed6c1127 better(?) scheme for cleaning weak tables; all ressurected objects 13 years ago
Roberto Ierusalimschy 45c346645c avoid clearing ephemeron tables that have nothing to be cleaned 13 years ago
Roberto Ierusalimschy 74b0bb3a45 macro 'checkconsistency' moved to this file, as it is used only 14 years ago
Roberto Ierusalimschy 868ff40339 full collection does not restart collector + avoid changing GC 14 years ago
Roberto Ierusalimschy 551b076f1c change in the relationship between totalbytes and GCdebt - luaM_realloc_ 14 years ago
Roberto Ierusalimschy 737f119187 better control for GC running or stopped 14 years ago
Roberto Ierusalimschy 350cc4bcb6 'micro' bug: when closing state, old objects are finalized (breaking 14 years ago
Roberto Ierusalimschy 9b7a12c46d finalizers (__gc) for tables 14 years ago
Roberto Ierusalimschy 4590a89b32 corrected warnings from different compilers (mostly casts and small 14 years ago
Roberto Ierusalimschy 6828f6d427 new parameter 'majorinc' to control frequency of major collections 14 years ago
Roberto Ierusalimschy a71c5f6f53 typo in comments 15 years ago
Roberto Ierusalimschy d9ea6eca7c macro 'key2tal' replaced by 'gkey' (as both were equal) 15 years ago
Roberto Ierusalimschy fabe4ec487 better barrier for prototypes 15 years ago
Roberto Ierusalimschy 575074fd85 Lua closures are cached for reuse 15 years ago
Roberto Ierusalimschy e94fac8956 bug: generational collection was not running collector! (must write 15 years ago
Roberto Ierusalimschy 3d45a8eb1c really stop collection during finalizers 15 years ago
Roberto Ierusalimschy 4fd76b8148 avoid "strong" cast 15 years ago
Roberto Ierusalimschy 1c1a98e872 corrected some places where an old object could end up in front 15 years ago
Roberto Ierusalimschy c006f085d9 new macro 'resetoldbit' 15 years ago
Roberto Ierusalimschy de97177744 avoid 'else assert' (which may result in an empty else) 15 years ago
Roberto Ierusalimschy 0fac33da9e bug: incremental sweep was not cleaning old bits (as it stopped in the 15 years ago
Roberto Ierusalimschy 25951e0ea5 some cleaning in 'sweeplist' (threads do not need to be traversed 15 years ago
Roberto Ierusalimschy d2ea5b00b7 new function 'luaC_changemode' + 15 years ago
Roberto Ierusalimschy 7444b5a1d5 better documentation of GC costs 15 years ago
Roberto Ierusalimschy 3e662cec89 full GC must run finalizers only after finishing everything else 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 4d871ee973 "gray lists" only need to be valid when 'keepinvariant' is true 15 years ago
Roberto Ierusalimschy 23001d8607 nasty GC bug: upvalue must be turned white when not keeping invariant, 15 years ago
Roberto Ierusalimschy aaa5d7adab 'luaC_linkupval' moved into 'lfunc.c' code + new way to control GC speed 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 d20ff60615 new macro LUA_NUMTAGS 15 years ago
Roberto Ierusalimschy a09c8d7beb cannot sweep main thread in sweepstring phase 15 years ago
Roberto Ierusalimschy e54668b696 added proper code to trace garbage collection 15 years ago
Roberto Ierusalimschy a8d3aa14fd global table now is only kept in the registry 15 years ago
Roberto Ierusalimschy 064e406f67 no more fenvs! 15 years ago