110 Commits (bf06e22b6a8415adc6970adfea84d3b236425c90)

Author SHA1 Message Date
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 3aa9598177 'mainthread' is not inserted in the 'allgc' list anymore, but swept 15 years ago
Roberto Ierusalimschy 64d39ed1b6 generational mode no longer sweep old objects 15 years ago
Roberto Ierusalimschy 4433dbb5f5 userdata with finalizers are kept in a separated list ('udgc'), instead 15 years ago
Roberto Ierusalimschy 0bbdddc86b allocator function receives the tag of object being allocated in 'osize' 15 years ago
Roberto Ierusalimschy 8da245bfd2 better to keep GC state numbers sequential, to optimize switch in 15 years ago
Roberto Ierusalimschy a2a2abcba4 new function 'luaC_runtilstate' to advance GC until a "valid" state 15 years ago
Roberto Ierusalimschy 3c4d970a7b comment typos 15 years ago
Roberto Ierusalimschy ce444bff33 (huge) simplification of GC management 15 years ago
Roberto Ierusalimschy b51d76ce8d when doing hard memory tests, perform a full GC at every possible step 15 years ago
Roberto Ierusalimschy 4a67e48611 new macro 'condmovestack' instead of 'condhardstacktests' 16 years ago
Roberto Ierusalimschy e091a254df new way to GC stacks: the entire stack must be correct all the times; 16 years ago
Roberto Ierusalimschy 0c8f5fc2fd simplification in the handling of finalizers: no more 'tmudata' list + 17 years ago
Roberto Ierusalimschy e2b366c760 userdata with finalizers are kept in a separated list 17 years ago
Roberto Ierusalimschy 0e961ad47a some changes toward ephemerons 17 years ago
Roberto Ierusalimschy 3ca9af51a4 emergency garbage collector (core forces a GC when allocation fails) 19 years ago
Roberto Ierusalimschy 98296f6b45 some bugs related to stack reallocation 19 years ago
Roberto Ierusalimschy 746a1d612b small bug (type error) 20 years ago
Roberto Ierusalimschy 8718fda9b2 added LUAI_FUNC to functions not in the API 20 years ago
Roberto Ierusalimschy d55bb795fa details 20 years ago
Roberto Ierusalimschy 4df8800a01 cleaner way to free all objects 20 years ago
Roberto Ierusalimschy 621ef9f767 better control over GC collors of upvalues 20 years ago
Roberto Ierusalimschy 0e54d2be36 bug: barrier was wrong for generational phase 20 years ago
Roberto Ierusalimschy 0b06241483 better control for GC cycles 20 years ago
Roberto Ierusalimschy 32d4f304db first implementation of generational GC 21 years ago
Roberto Ierusalimschy 26ae992129 less conservative write barrier for tables 21 years ago
Roberto Ierusalimschy a4e1230f95 better way to control open upvalues 21 years ago
Roberto Ierusalimschy b876ec61c0 new (temporary?) API for garbage collector 21 years ago
Roberto Ierusalimschy 2aaf7394ad more and better tools (assertions & inspectors) to check incremental GC 21 years ago
Roberto Ierusalimschy beb2aa5a46 atomic operations are not GC "states" 21 years ago
Roberto Ierusalimschy 47fc57a252 `TObject' renamed to `TValue' + other name changes and better assertions 21 years ago
Roberto Ierusalimschy df429f163a First version of incremental GC 21 years ago
Roberto Ierusalimschy 9db1942bac sweep of strings also incremental 21 years ago
Roberto Ierusalimschy c6eac44a94 two different white flags (to distinguish dead elements from new ones) 21 years ago
Roberto Ierusalimschy 1d10acb355 incremental GC phases 21 years ago
Roberto Ierusalimschy 57b6ed6815 initial implementation of white/gray/black coloring 21 years ago
Roberto Ierusalimschy 366e4af3c9 towards incremental GC 21 years ago
Roberto Ierusalimschy ab7d9bfd0c cleaner code for manipulation of `marked' field 21 years ago
Roberto Ierusalimschy a0a384a6b1 bug: userdata to be collected still counts into new GC threshold, 22 years ago
Roberto Ierusalimschy fa26d294ae new way to control `pc' of running functions 22 years ago
Roberto Ierusalimschy 69dd9461e5 bug: GC metamethod calls could mess C/Lua stack syncronization 22 years ago
Roberto Ierusalimschy 6f207b15fb resist errors in finalizers during lua_close 22 years ago
Roberto Ierusalimschy e47baca75a warnings from Visual C++ 22 years ago
Roberto Ierusalimschy fdafd4f4a8 new structure for collectable objects, sharing a common header 23 years ago
Roberto Ierusalimschy ecc7769de2 names... 23 years ago
Roberto Ierusalimschy e043b72a55 simpler way to collect userdata 23 years ago
Roberto Ierusalimschy 592a309177 tag system replaced by event tables 23 years ago
Roberto Ierusalimschy 777061e441 resurect userdata before calling its GC tag method 24 years ago
Roberto Ierusalimschy 89e8303f4e more robust treatment of GC tag methods (now they can create new 24 years ago