summaryrefslogtreecommitdiff
path: root/lstate.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* extra space for new threads is initialized with a copy of the mainRoberto Ierusalimschy2014-07-241-3/+4
| | | | thread, not of the creator thread.
* better support for extra user space associated with a Lua stateRoberto Ierusalimschy2014-07-241-4/+5
|
* type 'TString' refers directly to the structure inside the unionRoberto Ierusalimschy2014-07-181-2/+2
| | | | (union used only for size purposes)
* added check for conversion 'obj2gco' (and corrections for smallRoberto Ierusalimschy2014-07-181-2/+2
| | | | problems detected by this check)
* no need to keep threads in a different GC list, now that there is theRoberto Ierusalimschy2014-02-181-4/+4
| | | | '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-6/+7
| | | | (increases progressively)
* no more local collectionRoberto Ierusalimschy2014-02-131-14/+4
|
* keep a single list of objects to be finalized (with local and non-localRoberto Ierusalimschy2014-02-111-2/+2
| | | | objects), to ensure finalization order
* bug: should call 'luai_userstateclose' only when 'luai_userstateopen'Roberto Ierusalimschy2013-11-081-6/+8
| | | | has been called before
* CallInfo lists shrinks together with their associated stacksRoberto Ierusalimschy2013-09-171-1/+20
|
* GC local pause configurableRoberto Ierusalimschy2013-09-131-1/+6
|
* threads are kept in a separated GC list, linked after the main threadRoberto Ierusalimschy2013-09-111-14/+6
|
* 'luaC_newobj' does not handle special cases; only special caseRoberto Ierusalimschy2013-09-111-7/+11
| | | | now is threads, which do not use 'luaC_newobj' anymore.
* back to open hashing for the string table (but with a differentRoberto Ierusalimschy2013-09-051-2/+2
| | | | | 'hnext' field, to strings are still collected like all other objects)
* local collection now calls finalizersRoberto Ierusalimschy2013-09-031-4/+2
|
* new GC state to sweep 'localgc' list + small changes in sweep controlRoberto Ierusalimschy2013-08-301-2/+2
|
* tables and userdata all go to local list, tooRoberto Ierusalimschy2013-08-281-1/+9
|
* upvalues collected by reference countRoberto Ierusalimschy2013-08-271-2/+2
|
* Lua closures go to local, tooRoberto Ierusalimschy2013-08-261-2/+2
|
* C functions and strings now go to the local list; first versionRoberto Ierusalimschy2013-08-231-1/+3
| | | | of the local collector
* "fixed" objects kept in a separated list (instead of being kept inRoberto Ierusalimschy2013-08-211-3/+4
| | | | 'allgc' list with a bit marking them)
* change in string table: string table is now independent of GC lists; allRoberto Ierusalimschy2013-08-211-3/+2
| | | | strings live in 'normal' GC lists
* added 'local' bit (true => object is only refered by local variables)Roberto Ierusalimschy2013-08-161-7/+10
|
* double-linked list of all upvalues elliminated and changed to aRoberto Ierusalimschy2013-08-071-4/+4
| | | | traversal of all non-marked threads
* no more generational collection !!!Roberto Ierusalimschy2013-08-051-6/+1
|
* cast in 'luai_makeseed' now casts to needed typeRoberto Ierusalimschy2012-10-021-2/+2
|
* typos in commentsRoberto Ierusalimschy2012-05-301-2/+2
|
* spaces -> tabs in #definesRoberto Ierusalimschy2012-05-231-2/+2
|
* merge of fields 'lastmajormem' (used in gen. mode) and 'estimate'Roberto Ierusalimschy2012-05-221-2/+2
| | | | (used in inc. mode)
* try to avoid sweeping new objects created with new white (andRoberto Ierusalimschy2012-05-221-1/+2
| | | | therefore not collectable in the current cycle)
* useless parameter in macro 'luai_makeseed'Roberto Ierusalimschy2012-05-111-2/+2
|
* random seed used in the hash of all strings to avoid intentionalRoberto Ierusalimschy2012-02-011-1/+36
| | | | collisions
* 'luaC_separateudata' called from 'luaC_freeallobjects' + removedRoberto Ierusalimschy2011-10-031-5/+2
| | | | extra 'luaF_close' (already being called by 'close_state')
* 'nCcalls' should be local to each thread, as each thread may have itsRoberto Ierusalimschy2011-08-231-2/+2
| | | | own C stack (with LuaThreads or something similar)
* no more 'luaH_setstr (used only once) + 'luaH_setint' receives valueRoberto Ierusalimschy2011-08-091-3/+3
| | | | to be set.
* change in the relationship between totalbytes and GCdebt - luaM_realloc_Roberto Ierusalimschy2010-12-201-6/+9
| | | | is too critical to update two counters
* better control for GC running or stoppedRoberto Ierusalimschy2010-12-201-2/+3
|
* finalizers (__gc) for tablesRoberto Ierusalimschy2010-11-261-2/+2
|
* new parameter 'majorinc' to control frequency of major collectionsRoberto Ierusalimschy2010-09-031-1/+6
| | | | in generational mode
* detailRoberto Ierusalimschy2010-04-301-3/+2
|
* default PAUSE should be 200 (differences may be corrected inRoberto Ierusalimschy2010-04-301-6/+6
| | | | | internal multiplers) + check for unbilt stack equal the one used by lgc.c
* new way to control GC speedRoberto Ierusalimschy2010-04-291-12/+19
|
* ensure that 'luai_userstatethread' is always called (even ifRoberto Ierusalimschy2010-04-191-5/+4
| | | | 'stack_init' throws a memory error)
* tells the allocation function that the first block is a threadRoberto Ierusalimschy2010-04-191-2/+2
|
* no more 'ccall' nor 'cpcall' functions. (With light C functions theyRoberto Ierusalimschy2010-04-141-19/+1
| | | | are obsolete.)
* new macro LUA_NUMTAGSRoberto Ierusalimschy2010-04-121-2/+2
|
* keep memory-error message in the global state, so that its useRoberto Ierusalimschy2010-04-081-2/+7
| | | | | does not depend on Lua internalizing strings to avoid a string creation on memory errors
* no need to keep "_ENV" name in global state (can be kept in lex state)Roberto Ierusalimschy2010-04-051-3/+1
|
* global table now is only kept in the registryRoberto Ierusalimschy2010-03-291-5/+3
|