aboutsummaryrefslogtreecommitdiff
path: root/lstate.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* CallInfo lists shrinks together with their associated stacksRoberto Ierusalimschy2013-09-171-1/+2
|
* GC local pause configurableRoberto Ierusalimschy2013-09-131-1/+2
|
* threads are kept in a separated GC list, linked after the main threadRoberto Ierusalimschy2013-09-111-13/+12
|
* back to open hashing for the string table (but with a differentRoberto Ierusalimschy2013-09-051-2/+1
| | | | | 'hnext' field, to strings are still collected like all other objects)
* local collection now calls finalizersRoberto Ierusalimschy2013-09-031-2/+3
|
* new GC state to sweep 'localgc' list + small changes in sweep controlRoberto Ierusalimschy2013-08-301-3/+2
|
* upvalues collected by reference countRoberto Ierusalimschy2013-08-271-12/+2
|
* Lua closures go to local, tooRoberto Ierusalimschy2013-08-261-1/+2
|
* C functions and strings now go to the local list; first versionRoberto Ierusalimschy2013-08-231-1/+3
| | | | of the local collector
* some details over new implementation of string tableRoberto Ierusalimschy2013-08-221-4/+4
|
* "fixed" objects kept in a separated list (instead of being kept inRoberto Ierusalimschy2013-08-211-1/+5
| | | | 'allgc' list with a bit marking them)
* change in string table: string table is now independent of GC lists; allRoberto Ierusalimschy2013-08-211-7/+5
| | | | strings live in 'normal' GC lists
* GC bits SEPARATED and FINALIZEDBIT mixed in FINALIZEDBIT (with simplerRoberto Ierusalimschy2013-08-201-4/+4
| | | | control)
* double-linked list of all upvalues elliminated and changed to aRoberto Ierusalimschy2013-08-071-10/+10
| | | | traversal of all non-marked threads
* no more generational collection !!!Roberto Ierusalimschy2013-08-051-3/+1
|
* commentRoberto Ierusalimschy2012-07-021-2/+2
|