Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | no more 'CallInfo' structure | Roberto Ierusalimschy | 2017-11-04 | 1 | -14/+1 | |
| | ||||||
* | no more useful fields in CallInfo | Roberto Ierusalimschy | 2017-11-03 | 1 | -15/+1 | |
| | ||||||
* | more fields moved out of 'CallInfo' | Roberto Ierusalimschy | 2017-11-03 | 1 | -13/+9 | |
| | ||||||
* | new API for 'lua_resume' + cleaning the uses of the 'extra' field in | Roberto Ierusalimschy | 2017-11-02 | 1 | -8/+5 | |
| | | | | 'CallInfo' | |||||
* | baby steps to remove 'CallInfo': keeping 'L->func' correct | Roberto Ierusalimschy | 2017-10-31 | 1 | -1/+2 | |
| | ||||||
* | no more reference 'memerrmsg' + new reference to "n" | Roberto Ierusalimschy | 2017-07-27 | 1 | -2/+2 | |
| | | | | | | (both can be retrieved by 'luaS_newliteral' without creating anything, because they are fixed, but "n" deserves fast access while 'memerrmsg' does not) | |||||
* | no more 'DEADKEY'. Table traversals do not need to consider dead keys; | Roberto Ierusalimschy | 2017-06-12 | 1 | -3/+2 | |
| | | | | | | if the key is dead, it cannot be given to 'next'. Instead, we now use a 'table' tag without the collectable bit, which makes it a unique tag good enough to reserve space. | |||||
* | revamping the incremental collector | Roberto Ierusalimschy | 2017-05-26 | 1 | -5/+4 | |
| | | | | | | Some simplifications (not counting bytes, couting only slots visited; no more 'gcfinnum'); more GC parameters; using vararg in 'lua_gc' to set parameters in different GC modes | |||||
* | no more field 'base' in CallInfo (base is always equal to 'func + 1', | Roberto Ierusalimschy | 2017-05-13 | 1 | -2/+1 | |
| | | | | with old/new vararg implementation) | |||||
* | barrier for prototype's cache (with new gray list 'protogray' to keep | Roberto Ierusalimschy | 2017-05-04 | 1 | -2/+4 | |
| | | | | prototypes to have their caches visited again) + constant 'MAXMISS' | |||||
* | 'KGC_NORMAL' -> 'KGC_INC' + emergency GC signalled by flag (instead | Roberto Ierusalimschy | 2017-04-24 | 1 | -3/+3 | |
| | | | | of mode) | |||||
* | first version of control for the generational collector | Roberto Ierusalimschy | 2017-04-19 | 1 | -1/+3 | |
| | ||||||
* | Upvalues collected like everything else (with mark-sweep) instead | Roberto Ierusalimschy | 2017-04-11 | 1 | -1/+3 | |
| | | | | of reference count (simpler and better for generational mode) | |||||
* | generational collector (still not complete) | Roberto Ierusalimschy | 2017-04-05 | 1 | -2/+6 | |
| | ||||||
* | generational collection: new attempt (still incomplete) | Roberto Ierusalimschy | 2017-02-23 | 1 | -2/+6 | |
| | ||||||
* | comments about gray lists | Roberto Ierusalimschy | 2017-02-15 | 1 | -1/+19 | |
| | ||||||
* | detail (removing spaces at end of lines) | Roberto Ierusalimschy | 2016-12-22 | 1 | -4/+4 | |
| | ||||||
* | new flag in 'CallInfo.callstatus' to tell whether function is running | Roberto Ierusalimschy | 2016-10-19 | 1 | -1/+2 | |
| | | | | as a finalizer | |||||
* | allow more bits in 'callstatus' (use no extra space due to alignments) | Roberto Ierusalimschy | 2016-06-16 | 1 | -2/+2 | |
| | ||||||
* | make 'hook' volatile (as it may be changed in signal handling) | Roberto Ierusalimschy | 2015-12-16 | 1 | -2/+2 | |
| | ||||||
* | using 'sig_atomic_t' for 'hookmask' (as it can be changed inside | Roberto Ierusalimschy | 2015-12-14 | 1 | -2/+11 | |
| | | | | a signal) | |||||
* | removed field 'n' from 'CallInfo' (not being used right now) | Roberto Ierusalimschy | 2015-11-13 | 1 | -2/+1 | |
| | ||||||
* | added counters for total and individual CallInfo entries (to allow | Roberto Ierusalimschy | 2015-11-02 | 1 | -1/+3 | |
| | | | | better syncronization between CallInfo size and stack size) | |||||
* | flag CIST_REENTRY changed to CIST_FRESH (its negation); fresh invocations | Roberto Ierusalimschy | 2015-11-02 | 1 | -3/+3 | |
| | | | | | seem to be less frequent than reentries. (So, avoid setting flag on the frequent case.) | |||||
* | code for string cache generalized for "associative sets" (compiler | Roberto Ierusalimschy | 2015-09-22 | 1 | -2/+2 | |
| | | | | will optimize away or inline the extra loops) | |||||
* | long strings are created directly in final position when possible | Roberto Ierusalimschy | 2015-09-08 | 1 | -2/+1 | |
| | | | | | (instead of using an auxiliar buffer to first create the string and then allocate the final string and copy result there) | |||||
* | because of debt, 'totalbytes' can be negative (and therefore its | Roberto Ierusalimschy | 2015-07-04 | 1 | -3/+3 | |
| | | | | type must be signed) | |||||
* | 'strcache' elements as arrays of 1 element hints that cache can | Roberto Ierusalimschy | 2015-06-01 | 1 | -2/+2 | |
| | | | | be n-way (instead of direct mapped) | |||||
* | Bug: suspended '__le' metamethod can give wrong result | Roberto Ierusalimschy | 2015-04-10 | 1 | -1/+2 | |
| | ||||||
* | new cache for interning strings | Roberto Ierusalimschy | 2015-03-04 | 1 | -1/+2 | |
| | ||||||
* | comments (a few extra quotes around identifiers) | Roberto Ierusalimschy | 2014-10-30 | 1 | -5/+5 | |
| | ||||||
* | `name' in comments changed to 'name' | Roberto Ierusalimschy | 2014-10-25 | 1 | -5/+5 | |
| | ||||||
* | 'lua_Kcontext' -> 'lua_KContext' | Roberto Ierusalimschy | 2014-10-07 | 1 | -2/+2 | |
| | ||||||
* | comments | Roberto Ierusalimschy | 2014-10-06 | 1 | -2/+8 | |
| | ||||||
* | 'lua_Ctx' -> 'lua_Kcontext' | Roberto Ierusalimschy | 2014-08-01 | 1 | -2/+2 | |
| | ||||||
* | 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) |