76 Commits (737f119187aca3c8f6743ec6e3cfc04e83723180)

Author SHA1 Message Date
Roberto Ierusalimschy 737f119187 better control for GC running or stopped 14 years ago
Roberto Ierusalimschy a40768e5ea new macro 'luaC_condGC' to allow extra code to be run in case 14 years ago
Roberto Ierusalimschy 35931bbed4 comments 14 years ago
Roberto Ierusalimschy 9b7a12c46d finalizers (__gc) for tables 14 years ago
Roberto Ierusalimschy a71c5f6f53 typo in comments 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 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 32c1764b5d slightly better definition for 'isgray' 15 years ago
Roberto Ierusalimschy b373a40133 new macro 'isgenerational' + new macro 'isold' + better deffinition 15 years ago
Roberto Ierusalimschy a4f20e3c8b comments 15 years ago
Roberto Ierusalimschy d77898597e new function 'luaC_changemode' 15 years ago
Roberto Ierusalimschy 0c27de2e7b no more 'finalize' phase in GC; finalizers are called along the 15 years ago
Roberto Ierusalimschy 85555646e3 invariant must be kept in atomic 'phase' too 15 years ago
Roberto Ierusalimschy b9e1dec2cb added comment explaining a bit about the invariants of the collector 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 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 20 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