198 Commits (b36b4b521f53e5ff2e18fff3c194d28f9a840868)

Author SHA1 Message Date
Roberto Ierusalimschy b36b4b521f try to avoid sweeping new objects created with new white (and 13 years ago
Roberto Ierusalimschy 2a66b34f72 revamp of the GC pace control; more like 5.1: any X Kbytes allocated 13 years ago
Roberto Ierusalimschy 678c1255c9 random seed used in the hash of all strings to avoid intentional 13 years ago
Roberto Ierusalimschy a4b96ce9a3 first implementation of long strings 13 years ago
Roberto Ierusalimschy fd22ccd6d0 object tag keeps variant bits too -> no need for 'isC' field in 13 years ago
Roberto Ierusalimschy 9caf5b4f79 lint (unused definition) 13 years ago
Roberto Ierusalimschy 3dc5475e23 'nCcalls' should be local to each thread, as each thread may have its 13 years ago
Roberto Ierusalimschy 3b44821334 stricter control (using tag variants) over closure kinds (Lua x C) 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 9b7a12c46d finalizers (__gc) for tables 14 years ago
Roberto Ierusalimschy fdd5f2f7a3 comment typos 14 years ago
Roberto Ierusalimschy ffff9a49da 'nresults' in CallInfo now refers to number of results that the current 14 years ago
Roberto Ierusalimschy 6828f6d427 new parameter 'majorinc' to control frequency of major collections 14 years ago
Roberto Ierusalimschy aa73403ba4 no need of a KGC_FORCED collection kind; it has the same behavior of 15 years ago
Roberto Ierusalimschy 3eb1788bb4 new way to control GC speed (keeping a 'debt' counter) 15 years ago
Roberto Ierusalimschy 7dfa4cd655 first implementation of light C functions 15 years ago
Roberto Ierusalimschy d20ff60615 new macro LUA_NUMTAGS 15 years ago
Roberto Ierusalimschy 055104f5b6 keep memory-error message in the global state, so that its use 15 years ago
Roberto Ierusalimschy 6abde1b05a no need to keep "_ENV" name in global state (can be kept in lex state) 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
Roberto Ierusalimschy 5c87f61e6b major collections in generational mode 15 years ago
Roberto Ierusalimschy 4433dbb5f5 userdata with finalizers are kept in a separated list ('udgc'), instead 15 years ago
Roberto Ierusalimschy 74123e9686 draft version of a generational mode for garbage collection. (Not well 15 years ago
Roberto Ierusalimschy 22ef84b6c8 '_ENV' name permanently stored in global state for easier access 15 years ago
Roberto Ierusalimschy c8ff7de7f0 field 'oldtop' renamed to 'extra', as it can be used for other 15 years ago
Roberto Ierusalimschy f84b575cfa no more pseudoindex LUA_GLOBALSINDEX; global table now accessible 15 years ago
Roberto Ierusalimschy 3a9ae612a4 macro 'ngcotouv' is the same as 'gco2uv', so it was removed 15 years ago
Roberto Ierusalimschy 3c4d970a7b comment typos 15 years ago
Roberto Ierusalimschy b0f2b288a6 new scheme for debug info about tail calls: no more 'fake' stack entries, 15 years ago
Roberto Ierusalimschy ce444bff33 (huge) simplification of GC management 15 years ago
Roberto Ierusalimschy 5bc91c6405 no more one environment per thread: all threads share a single global 15 years ago
Roberto Ierusalimschy f76f4cb79d new way to control stack overflow, controling only total size of the stack 16 years ago
Roberto Ierusalimschy 1d6ebce296 new function 'lua_version' (so that 'checkversion' can be implemented 16 years ago
Roberto Ierusalimschy 9423e22aa3 no more L->base + ci->base only for Lua functions (C functions may use 16 years ago
Roberto Ierusalimschy d3037d97ec several small improvements based on 'ci' being fixed now (including 16 years ago
Roberto Ierusalimschy 4f88418170 'CallInfo' stack implemented as double-linked list instead of an array 16 years ago
Roberto Ierusalimschy 70a63fa5ad first implementation of yieldable 'pcall' 16 years ago
Roberto Ierusalimschy 6d0ae11c57 'context' added to suspendable calls 16 years ago
Roberto Ierusalimschy ba484b9eb1 yielding across lua_call (first version) 16 years ago
Roberto Ierusalimschy 1817dfc301 initial separation, in CallInfo, of what is relevant only to Lua 16 years ago
Roberto Ierusalimschy d2ebdc045b new macro 'lua_checkversion' to check whether core and application are 16 years ago
Roberto Ierusalimschy f94cd2201c better control of call status through CallInfo 16 years ago
Roberto Ierusalimschy 394646891c new field 'status' in CallInfo structure 16 years ago
Roberto Ierusalimschy 0c8f5fc2fd simplification in the handling of finalizers: no more 'tmudata' list + 17 years ago
Roberto Ierusalimschy 8fd28611d5 outdated comment 17 years ago
Roberto Ierusalimschy e2b366c760 userdata with finalizers are kept in a separated list 17 years ago
Roberto Ierusalimschy a73930228a more options for 'kinds' of Garbage Collection 17 years ago
Roberto Ierusalimschy 5e8dd55574 first implementation of ephemerons 17 years ago