464 Commits (6f5bd5072dff07679c390eecfeaa9d20cc45a9ef)

Author SHA1 Message Date
Roberto Ierusalimschy 8634b2a011 added 'cachemiss' field to prototype to avoid wasting time checking 8 years ago
Roberto Ierusalimschy f399e6705f ensures that "collectgarbage'step'" in generational mode does a 8 years ago
Roberto Ierusalimschy 69371c4b84 'KGC_NORMAL' -> 'KGC_INC' + emergency GC signalled by flag (instead 8 years ago
Roberto Ierusalimschy c354211744 small bug in generational control 8 years ago
Roberto Ierusalimschy c7bdc0e0e8 first version of control for the generational collector 8 years ago
Roberto Ierusalimschy 16001acb15 small corrections + removal of debugging functions 'count' and 8 years ago
Roberto Ierusalimschy 0c8a7e071b 'mainthread' lives in 'allgc' list, like everybody else 8 years ago
Roberto Ierusalimschy a3d36fe283 Upvalues collected like everything else (with mark-sweep) instead 8 years ago
Roberto Ierusalimschy 9569ad6b0d Comments for generational collector 8 years ago
Roberto Ierusalimschy 2331e1beec small changes in 'luaC_upvalbarrier' 8 years ago
Roberto Ierusalimschy e4287da3a6 generational collector (still not complete) 8 years ago
Roberto Ierusalimschy f5f3df3bd1 generational collection: new attempt (still incomplete) 8 years ago
Roberto Ierusalimschy 2a235312f0 detail (removing spaces at end of lines) 8 years ago
Roberto Ierusalimschy 7b1fba69b7 using 'lastfree == NULL' to signal that table is using the dummy 8 years ago
Roberto Ierusalimschy 138d00176c new flag in 'CallInfo.callstatus' to tell whether function is running 8 years ago
Roberto Ierusalimschy 8d4feb504f do not try to ensure that 'sweepgc' points to a live object 9 years ago
Roberto Ierusalimschy 03412af06e detail (removed fixed argument to function 'callallpendingfinalizers') 9 years ago
Roberto Ierusalimschy 7485512384 added comment and assert about dead keys 9 years ago
Roberto Ierusalimschy ff1289a361 in 'luaD_call', use two functions instead of one with fixed boolean 9 years ago
Roberto Ierusalimschy cd73f3ccc5 now that we have a counter for CallInfos, use it for a more 9 years ago
Roberto Ierusalimschy 41964648ee long strings are created directly in final position when possible 9 years ago
Roberto Ierusalimschy 2b61360d82 avoid overflows (detected with 'clang -ftrapv') 9 years ago
Roberto Ierusalimschy b436ed58a3 'clearapihash' -> 'luaS_clearcache' and moved to 'lstring.c' (which 10 years ago
Roberto Ierusalimschy 2ae2e6408e avoid testing for NULL when marking objects that cannot be NULL 10 years ago
Roberto Ierusalimschy a80cada914 new cache for interning strings 10 years ago
Roberto Ierusalimschy 7e2015a46d size of short strings stored in a single byte, to reduce the size 10 years ago
Roberto Ierusalimschy 88ef06f4f3 comments were wrong (not updated about several changes) 10 years ago
Roberto Ierusalimschy 28fdbcf393 added include for 'lprefix.h', for stuff that must be added before 10 years ago
Roberto Ierusalimschy 4542fb9f78 comments (a few extra quotes around identifiers) 10 years ago
Roberto Ierusalimschy e9885efc7c added comment and assert about an (impossible) division by zero 10 years ago
Roberto Ierusalimschy bdf566a8a3 `name' in comments changed to 'name' 10 years ago
Roberto Ierusalimschy 2f4d429071 details (comments) 10 years ago
Roberto Ierusalimschy 3a15c7ce43 size for array part of a table ('sizearray') changed from 'int' to 10 years ago
Roberto Ierusalimschy 0a6b58c3aa weak tables that must be retraversed are kept in 'grayagain' list 10 years ago
Roberto Ierusalimschy df608f842a 'linktable' -> 'linkgclist' (and used for all links with 'gclist') 10 years ago
Roberto Ierusalimschy 07c7fdb9df simpler definition for 'setobj' (trust the compiler for the assignment) 10 years ago
Roberto Ierusalimschy 3c6d0aaa7d 'iswhite' and related macros now can work directly on any object 10 years ago
Roberto Ierusalimschy e43612aaf6 put the restriction that 'luaC_barrierback' works only on tables 10 years ago
Roberto Ierusalimschy 2898e2fd12 removed useless assertion (gcstate != GCSpause already implied by 10 years ago
Roberto Ierusalimschy bb12903120 type 'Udata' refers directly to structure inside the union (union 10 years ago
Roberto Ierusalimschy ca41b43f53 type 'TString' refers directly to the structure inside the union 10 years ago
Roberto Ierusalimschy 56137d58ff added check for conversion 'obj2gco' (and corrections for small 10 years ago
Roberto Ierusalimschy 9aec500a26 no need for field 'gch' anymore 10 years ago
Roberto Ierusalimschy b9dcf9974d detail (typos in comments) 11 years ago
Roberto Ierusalimschy 4d696c45b9 simpler handling of 'GCScallfin' state + more comments 11 years ago
Roberto Ierusalimschy 4a24883674 'GCmemtrav' does not need to track the entire collection, only each 11 years ago
Roberto Ierusalimschy f61ceee708 LUAI_FUNC is being used only in header files 11 years ago
Roberto Ierusalimschy 0d745ed04c more precise estimation (GCestimate) for total bytes in use after 11 years ago
Roberto Ierusalimschy da4811238a details (typos in comments) 11 years ago
Roberto Ierusalimschy c86b9da022 userdata can have any Lua value as uservalue 11 years ago