aboutsummaryrefslogtreecommitdiff
path: root/lgc.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* "barrier" for link prototype->cache changed to be consistent withRoberto Ierusalimschy2013-08-191-4/+1
| | | | GC behavior (link is cleared to preserve invariant)
* added 'local' bit (true => object is only refered by local variables)Roberto Ierusalimschy2013-08-161-6/+14
|
* barrier conditions rewritten to test first 'isblack' and then 'iswhite'Roberto Ierusalimschy2013-08-131-8/+8
| | | | | (during a pause all objects are white, so 'isblack' fails much more often than 'iswhite')
* no more generational collection !!!Roberto Ierusalimschy2013-08-051-23/+5
|
* small bug: generational mode is always in 'propagate' mode onlyRoberto Ierusalimschy2012-09-111-5/+14
| | | | | outside the collector: during collection of course it must go to other modes.
* collector in generational mode must be in 'propagate' state whenRoberto Ierusalimschy2012-07-041-3/+4
| | | | not running a collection
* definition of 'GCSTEPSIZE' moved to header file + small changesRoberto Ierusalimschy2012-05-231-5/+11
|
* simpler macro 'luaC_condGC' + better 'step' in 'lua_gc' +Roberto Ierusalimschy2012-05-211-2/+2
| | | | | micro bug in 'luaC_checkfinalizer' (current sweep object could be removed from 'allgc' list)
* test for whether collector is running moved from function toRoberto Ierusalimschy2012-05-111-2/+2
| | | | macro 'luaC_condGC'.
* documentation comment (small correction about strings beingRoberto Ierusalimschy2012-01-231-3/+5
| | | | gray)
* 'luaC_separateudata' renamed to 'separatetobefnz' and called onlyRoberto Ierusalimschy2011-10-031-2/+1
| | | | from 'lgc.c'
* lint (unused macros)Roberto Ierusalimschy2011-09-301-4/+1
|
* detail (cleaning trailing spaces)Roberto Ierusalimschy2011-01-261-2/+2
|
* full collection does not restart collector + avoid changing GCRoberto Ierusalimschy2010-12-291-1/+2
| | | | state if an error happens in a step
* better control for GC running or stoppedRoberto Ierusalimschy2010-12-201-5/+1
|
* new macro 'luaC_condGC' to allow extra code to be run in caseRoberto Ierusalimschy2010-12-171-2/+4
| | | | of GC steps
* commentsRoberto Ierusalimschy2010-12-021-3/+3
|
* finalizers (__gc) for tablesRoberto Ierusalimschy2010-11-261-2/+2
|
* typo in commentsRoberto Ierusalimschy2010-06-301-2/+2
|
* better barrier for prototypesRoberto Ierusalimschy2010-06-071-4/+4
|
* Lua closures are cached for reuseRoberto Ierusalimschy2010-06-041-9/+13
|
* corrected some places where an old object could end up in frontRoberto Ierusalimschy2010-05-101-1/+4
| | | | of a new one + minimal documentation about this problem
* new macro 'resetoldbit'Roberto Ierusalimschy2010-05-101-1/+3
|
* slightly better definition for 'isgray'Roberto Ierusalimschy2010-05-071-2/+3
|
* new macro 'isgenerational' + new macro 'isold' + better deffinitionRoberto Ierusalimschy2010-05-071-3/+7
| | | | for 'isdead', compatible with the code used by 'sweeplist'
* commentsRoberto Ierusalimschy2010-05-061-18/+9
|
* new function 'luaC_changemode'Roberto Ierusalimschy2010-05-051-1/+2
|
* no more 'finalize' phase in GC; finalizers are called along theRoberto Ierusalimschy2010-05-031-3/+2
| | | | entire cycle
* invariant must be kept in atomic 'phase' tooRoberto Ierusalimschy2010-05-031-9/+9
|
* added comment explaining a bit about the invariants of the collectorRoberto Ierusalimschy2010-04-301-1/+14
|
* nasty GC bug: upvalue must be turned white when not keeping invariant,Roberto Ierusalimschy2010-04-291-2/+3
| | | | but barrier was not being called when uv->v were already white.
* 'luaC_linkupval' moved into 'lfunc.c' code + new way to control GC speedRoberto Ierusalimschy2010-04-291-4/+20
|
* 'mainthread' is not inserted in the 'allgc' list anymore, but sweptRoberto Ierusalimschy2010-03-251-5/+3
| | | | separately.
* generational mode no longer sweep old objectsRoberto Ierusalimschy2010-03-241-1/+3
|
* userdata with finalizers are kept in a separated list ('udgc'), insteadRoberto Ierusalimschy2010-03-241-6/+6
| | | | | of at the end of 'rootgc' (which was renamed to 'allgc', as it is not "root" in the usual meaning for collectors)
* allocator function receives the tag of object being allocated in 'osize'Roberto Ierusalimschy2009-12-171-2/+3
| | | | when 'ptr' is NULL.
* better to keep GC state numbers sequential, to optimize switch inRoberto Ierusalimschy2009-12-111-8/+8
| | | | 'singlestep'
* new function 'luaC_runtilstate' to advance GC until a "valid" stateRoberto Ierusalimschy2009-12-111-9/+8
|
* comment typosRoberto Ierusalimschy2009-11-261-2/+2
|
* (huge) simplification of GC managementRoberto Ierusalimschy2009-11-181-4/+3
|
* when doing hard memory tests, perform a full GC at every possible stepRoberto Ierusalimschy2009-11-171-2/+2
|
* new macro 'condmovestack' instead of 'condhardstacktests'Roberto Ierusalimschy2009-06-081-5/+3
|
* new way to GC stacks: the entire stack must be correct all the times;Roberto Ierusalimschy2009-04-281-4/+5
| | | | | the 'dead' part of a stack (after the top) must have only nil's, so that 'top' may go up without cleaning the stack.
* simplification in the handling of finalizers: no more 'tmudata' list +Roberto Ierusalimschy2008-06-261-16/+14
| | | | no more GCSsweeptmu collector's state
* userdata with finalizers are kept in a separated listRoberto Ierusalimschy2008-02-191-5/+12
|
* some changes toward ephemeronsRoberto Ierusalimschy2007-10-291-5/+1
|
* emergency garbage collector (core forces a GC when allocation fails)Roberto Ierusalimschy2006-07-111-2/+2
|
* some bugs related to stack reallocationRoberto Ierusalimschy2005-08-241-2/+4
|
* small bug (type error)Roberto Ierusalimschy2005-06-071-7/+6
|
* added LUAI_FUNC to functions not in the APIRoberto Ierusalimschy2005-04-251-10/+10
|