Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | better(?) alignment for some structures (pointers first) | Roberto Ierusalimschy | 2014-07-23 | 1 | -13/+13 |
| | |||||
* | type 'Udata' refers directly to structure inside the union (union | Roberto Ierusalimschy | 2014-07-18 | 1 | -4/+3 |
| | | | | used only for aligning purposes now) | ||||
* | type 'TString' refers directly to the structure inside the union | Roberto Ierusalimschy | 2014-07-18 | 1 | -11/+3 |
| | | | | (union used only for size purposes) | ||||
* | added check for conversion 'obj2gco' (and corrections for small | Roberto Ierusalimschy | 2014-07-18 | 1 | -4/+12 |
| | | | | problems detected by this check) | ||||
* | no need for field 'gch' anymore | Roberto Ierusalimschy | 2014-07-17 | 1 | -17/+9 |
| | |||||
* | change in GCObject: instead of being a union, it is now a structure | Roberto Ierusalimschy | 2014-07-17 | 1 | -12/+21 |
| | | | | | | | | with the common header of all collectable objects; union is used only for conversions. (Goal is to be able to check that the cast 'obj2gco' can have a check to ensure that object being converted is really a collectable object.). This is the first step in the change. | ||||
* | new type 'lua_Ctx' for continuation-function contexts (to allow type | Roberto Ierusalimschy | 2014-07-17 | 1 | -2/+2 |
| | | | | to be configurable) | ||||
* | cleaner way to handle bit CIST_OAH (with auxiliar macros) | Roberto Ierusalimschy | 2014-06-12 | 1 | -9/+12 |
| | |||||
* | bit-field CIST_YIELDED removed (it was never consulted) | Roberto Ierusalimschy | 2014-06-10 | 1 | -6/+5 |
| | |||||
* | no need for field 'status' in structure 'CallInfo' (after removal | Roberto Ierusalimschy | 2014-06-10 | 1 | -7/+5 |
| | | | | | of 'lua_getctx') + field 'old_allowhook' can be packed into a single bit | ||||
* | new type lua_KFunction + no more 'lua_getctx' | Roberto Ierusalimschy | 2014-06-10 | 1 | -2/+2 |
| | |||||
* | small changes in field order in some structs to reduce padding | Roberto Ierusalimschy | 2014-05-15 | 1 | -2/+2 |
| | |||||
* | no need to keep threads in a different GC list, now that there is the | Roberto Ierusalimschy | 2014-02-18 | 1 | -2/+1 |
| | | | | 'twups' list | ||||
* | new list 'twups' to allow traversal of upvalues from dead threads | Roberto Ierusalimschy | 2014-02-18 | 1 | -1/+3 |
| | | | | (+ fixed some problems with cycles involving those upvalues) | ||||
* | better control for number of finalizers called at each GC cycle | Roberto Ierusalimschy | 2014-02-13 | 1 | -1/+2 |
| | | | | (increases progressively) | ||||
* | no more local collection | Roberto Ierusalimschy | 2014-02-13 | 1 | -6/+2 |
| | |||||
* | keep a single list of objects to be finalized (with local and non-local | Roberto Ierusalimschy | 2014-02-11 | 1 | -4/+2 |
| | | | | objects), to ensure finalization order | ||||
* | CallInfo lists shrinks together with their associated stacks | Roberto Ierusalimschy | 2013-09-17 | 1 | -1/+2 |
| | |||||
* | GC local pause configurable | Roberto Ierusalimschy | 2013-09-13 | 1 | -1/+2 |
| | |||||
* | threads are kept in a separated GC list, linked after the main thread | Roberto Ierusalimschy | 2013-09-11 | 1 | -13/+12 |
| | |||||
* | back to open hashing for the string table (but with a different | Roberto Ierusalimschy | 2013-09-05 | 1 | -2/+1 |
| | | | | | 'hnext' field, to strings are still collected like all other objects) | ||||
* | local collection now calls finalizers | Roberto Ierusalimschy | 2013-09-03 | 1 | -2/+3 |
| | |||||
* | new GC state to sweep 'localgc' list + small changes in sweep control | Roberto Ierusalimschy | 2013-08-30 | 1 | -3/+2 |
| | |||||
* | upvalues collected by reference count | Roberto Ierusalimschy | 2013-08-27 | 1 | -12/+2 |
| | |||||
* | Lua closures go to local, too | Roberto Ierusalimschy | 2013-08-26 | 1 | -1/+2 |
| | |||||
* | C functions and strings now go to the local list; first version | Roberto Ierusalimschy | 2013-08-23 | 1 | -1/+3 |
| | | | | of the local collector | ||||
* | some details over new implementation of string table | Roberto Ierusalimschy | 2013-08-22 | 1 | -4/+4 |
| | |||||
* | "fixed" objects kept in a separated list (instead of being kept in | Roberto Ierusalimschy | 2013-08-21 | 1 | -1/+5 |
| | | | | 'allgc' list with a bit marking them) | ||||
* | change in string table: string table is now independent of GC lists; all | Roberto Ierusalimschy | 2013-08-21 | 1 | -7/+5 |
| | | | | strings live in 'normal' GC lists | ||||
* | GC bits SEPARATED and FINALIZEDBIT mixed in FINALIZEDBIT (with simpler | Roberto Ierusalimschy | 2013-08-20 | 1 | -4/+4 |
| | | | | control) | ||||
* | double-linked list of all upvalues elliminated and changed to a | Roberto Ierusalimschy | 2013-08-07 | 1 | -10/+10 |
| | | | | traversal of all non-marked threads | ||||
* | no more generational collection !!! | Roberto Ierusalimschy | 2013-08-05 | 1 | -3/+1 |
| | |||||
* | comment | Roberto Ierusalimschy | 2012-07-02 | 1 | -2/+2 |
| | |||||
* | bugs in yields inside debug hooks | Roberto Ierusalimschy | 2012-06-08 | 1 | -2/+3 |
| | |||||
* | merge of fields 'lastmajormem' (used in gen. mode) and 'estimate' | Roberto Ierusalimschy | 2012-05-22 | 1 | -3/+2 |
| | | | | (used in inc. mode) | ||||
* | try to avoid sweeping new objects created with new white (and | Roberto Ierusalimschy | 2012-05-22 | 1 | -2/+3 |
| | | | | therefore not collectable in the current cycle) | ||||
* | revamp of the GC pace control; more like 5.1: any X Kbytes allocated | Roberto Ierusalimschy | 2012-05-20 | 1 | -1/+3 |
| | | | | makes the GC handle f(X) Kbytes of objects | ||||
* | random seed used in the hash of all strings to avoid intentional | Roberto Ierusalimschy | 2012-02-01 | 1 | -1/+2 |
| | | | | collisions | ||||
* | first implementation of long strings | Roberto Ierusalimschy | 2012-01-25 | 1 | -2/+3 |
| | |||||
* | object tag keeps variant bits too -> no need for 'isC' field in | Roberto Ierusalimschy | 2012-01-20 | 1 | -2/+5 |
| | | | | Closures + more strick typing for closure variants | ||||
* | lint (unused definition) | Roberto Ierusalimschy | 2011-09-30 | 1 | -3/+1 |
| | |||||
* | 'nCcalls' should be local to each thread, as each thread may have its | Roberto Ierusalimschy | 2011-08-23 | 1 | -2/+2 |
| | | | | own C stack (with LuaThreads or something similar) | ||||
* | stricter control (using tag variants) over closure kinds (Lua x C) | Roberto Ierusalimschy | 2011-06-02 | 1 | -2/+1 |
| | |||||
* | change in the relationship between totalbytes and GCdebt - luaM_realloc_ | Roberto Ierusalimschy | 2010-12-20 | 1 | -3/+7 |
| | | | | is too critical to update two counters | ||||
* | better control for GC running or stopped | Roberto Ierusalimschy | 2010-12-20 | 1 | -1/+2 |
| | |||||
* | finalizers (__gc) for tables | Roberto Ierusalimschy | 2010-11-26 | 1 | -4/+4 |
| | |||||
* | comment typos | Roberto Ierusalimschy | 2010-10-29 | 1 | -2/+2 |
| | |||||
* | 'nresults' in CallInfo now refers to number of results that the current | Roberto Ierusalimschy | 2010-09-30 | 1 | -2/+2 |
| | | | | function returns (and not what it expects from a call) | ||||
* | new parameter 'majorinc' to control frequency of major collections | Roberto Ierusalimschy | 2010-09-03 | 1 | -1/+2 |
| | | | | in generational mode | ||||
* | no need of a KGC_FORCED collection kind; it has the same behavior of | Roberto Ierusalimschy | 2010-05-03 | 1 | -4/+3 |
| | | | | a normal collection |