aboutsummaryrefslogtreecommitdiff
path: root/lstate.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* more fields moved out of 'CallInfo'Roberto Ierusalimschy2017-11-031-13/+9
|
* new API for 'lua_resume' + cleaning the uses of the 'extra' field inRoberto Ierusalimschy2017-11-021-8/+5
| | | | 'CallInfo'
* baby steps to remove 'CallInfo': keeping 'L->func' correctRoberto Ierusalimschy2017-10-311-1/+2
|
* no more reference 'memerrmsg' + new reference to "n"Roberto Ierusalimschy2017-07-271-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 Ierusalimschy2017-06-121-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 collectorRoberto Ierusalimschy2017-05-261-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 Ierusalimschy2017-05-131-2/+1
| | | | with old/new vararg implementation)
* barrier for prototype's cache (with new gray list 'protogray' to keepRoberto Ierusalimschy2017-05-041-2/+4
| | | | prototypes to have their caches visited again) + constant 'MAXMISS'
* 'KGC_NORMAL' -> 'KGC_INC' + emergency GC signalled by flag (insteadRoberto Ierusalimschy2017-04-241-3/+3
| | | | of mode)
* first version of control for the generational collectorRoberto Ierusalimschy2017-04-191-1/+3
|
* Upvalues collected like everything else (with mark-sweep) insteadRoberto Ierusalimschy2017-04-111-1/+3
| | | | of reference count (simpler and better for generational mode)
* generational collector (still not complete)Roberto Ierusalimschy2017-04-051-2/+6
|
* generational collection: new attempt (still incomplete)Roberto Ierusalimschy2017-02-231-2/+6
|
* comments about gray listsRoberto Ierusalimschy2017-02-151-1/+19
|
* detail (removing spaces at end of lines)Roberto Ierusalimschy2016-12-221-4/+4
|
* new flag in 'CallInfo.callstatus' to tell whether function is runningRoberto Ierusalimschy2016-10-191-1/+2
| | | | as a finalizer
* allow more bits in 'callstatus' (use no extra space due to alignments)Roberto Ierusalimschy2016-06-161-2/+2
|
* make 'hook' volatile (as it may be changed in signal handling)Roberto Ierusalimschy2015-12-161-2/+2
|
* using 'sig_atomic_t' for 'hookmask' (as it can be changed insideRoberto Ierusalimschy2015-12-141-2/+11
| | | | a signal)
* removed field 'n' from 'CallInfo' (not being used right now)Roberto Ierusalimschy2015-11-131-2/+1
|
* added counters for total and individual CallInfo entries (to allowRoberto Ierusalimschy2015-11-021-1/+3
| | | | better syncronization between CallInfo size and stack size)
* flag CIST_REENTRY changed to CIST_FRESH (its negation); fresh invocationsRoberto Ierusalimschy2015-11-021-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" (compilerRoberto Ierusalimschy2015-09-221-2/+2
| | | | will optimize away or inline the extra loops)
* long strings are created directly in final position when possibleRoberto Ierusalimschy2015-09-081-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 itsRoberto Ierusalimschy2015-07-041-3/+3
| | | | type must be signed)
* 'strcache' elements as arrays of 1 element hints that cache canRoberto Ierusalimschy2015-06-011-2/+2
| | | | be n-way (instead of direct mapped)
* Bug: suspended '__le' metamethod can give wrong resultRoberto Ierusalimschy2015-04-101-1/+2
|
* new cache for interning stringsRoberto Ierusalimschy2015-03-041-1/+2
|
* comments (a few extra quotes around identifiers)Roberto Ierusalimschy2014-10-301-5/+5
|
* `name' in comments changed to 'name'Roberto Ierusalimschy2014-10-251-5/+5
|
* 'lua_Kcontext' -> 'lua_KContext'Roberto Ierusalimschy2014-10-071-2/+2
|
* commentsRoberto Ierusalimschy2014-10-061-2/+8
|
* 'lua_Ctx' -> 'lua_Kcontext'Roberto Ierusalimschy2014-08-011-2/+2
|
* better(?) alignment for some structures (pointers first)Roberto Ierusalimschy2014-07-231-13/+13
|
* type 'Udata' refers directly to structure inside the union (unionRoberto Ierusalimschy2014-07-181-4/+3
| | | | used only for aligning purposes now)
* type 'TString' refers directly to the structure inside the unionRoberto Ierusalimschy2014-07-181-11/+3
| | | | (union used only for size purposes)
* added check for conversion 'obj2gco' (and corrections for smallRoberto Ierusalimschy2014-07-181-4/+12
| | | | problems detected by this check)
* no need for field 'gch' anymoreRoberto Ierusalimschy2014-07-171-17/+9
|
* change in GCObject: instead of being a union, it is now a structureRoberto Ierusalimschy2014-07-171-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 typeRoberto Ierusalimschy2014-07-171-2/+2
| | | | to be configurable)
* cleaner way to handle bit CIST_OAH (with auxiliar macros)Roberto Ierusalimschy2014-06-121-9/+12
|
* bit-field CIST_YIELDED removed (it was never consulted)Roberto Ierusalimschy2014-06-101-6/+5
|
* no need for field 'status' in structure 'CallInfo' (after removalRoberto Ierusalimschy2014-06-101-7/+5
| | | | | of 'lua_getctx') + field 'old_allowhook' can be packed into a single bit
* new type lua_KFunction + no more 'lua_getctx'Roberto Ierusalimschy2014-06-101-2/+2
|
* small changes in field order in some structs to reduce paddingRoberto Ierusalimschy2014-05-151-2/+2
|
* no need to keep threads in a different GC list, now that there is theRoberto Ierusalimschy2014-02-181-2/+1
| | | | 'twups' list
* new list 'twups' to allow traversal of upvalues from dead threadsRoberto Ierusalimschy2014-02-181-1/+3
| | | | (+ fixed some problems with cycles involving those upvalues)
* better control for number of finalizers called at each GC cycleRoberto Ierusalimschy2014-02-131-1/+2
| | | | (increases progressively)
* no more local collectionRoberto Ierusalimschy2014-02-131-6/+2
|
* keep a single list of objects to be finalized (with local and non-localRoberto Ierusalimschy2014-02-111-4/+2
| | | | objects), to ensure finalization order