aboutsummaryrefslogtreecommitdiff
path: root/lstate.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
|
* no more fenvs!Roberto Ierusalimschy2010-03-261-5/+2
|
* major collections in generational modeRoberto Ierusalimschy2010-03-251-1/+2
|
* 'mainthread' is not inserted in the 'allgc' list anymore, but sweptRoberto Ierusalimschy2010-03-251-3/+2
| | | | separately.
* userdata with finalizers are kept in a separated list ('udgc'), insteadRoberto Ierusalimschy2010-03-241-2/+3
| | | | | of at the end of 'rootgc' (which was renamed to 'allgc', as it is not "root" in the usual meaning for collectors)
* detail (wrong comment about LUAI_GCPAUSE)Roberto Ierusalimschy2010-03-221-2/+2
|
* 'cpcall' renamed to 'ccall' as it does not do a protected callRoberto Ierusalimschy2010-03-191-6/+6
|
* '_ENV' name permanently stored in global state for easier accessRoberto Ierusalimschy2010-03-131-1/+3
|
* no more pseudoindex LUA_GLOBALSINDEX; global table now accessibleRoberto Ierusalimschy2009-12-221-5/+9
| | | | through registry
* several configuration options that do not change often moved out ofRoberto Ierusalimschy2009-12-171-1/+10
| | | | luaconf.h and into more internal files
* allocator function receives the tag of object being allocated in 'osize'Roberto Ierusalimschy2009-12-161-3/+2
| | | | when 'ptr' is NULL.
* cleaner way to add extra space in a lua state.Roberto Ierusalimschy2009-12-141-11/+22
|
* (huge) simplification of GC managementRoberto Ierusalimschy2009-11-181-11/+3
|
* no more one environment per thread: all threads share a single globalRoberto Ierusalimschy2009-10-231-10/+9
| | | | environment
* new function lua_copyRoberto Ierusalimschy2009-10-051-3/+2
|
* 'cpcall' must ensure correct environment for called functionRoberto Ierusalimschy2009-09-301-2/+5
|
* initialize g->estimate (just in case)Roberto Ierusalimschy2009-09-281-2/+3
|
* 'cpcall' reimplemented as a predefined value in the registryRoberto Ierusalimschy2009-09-211-3/+30
|