aboutsummaryrefslogtreecommitdiff
path: root/lmem.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2013-11-08bug: attempting to resume the running coroutine makes it unyieldableRoberto Ierusalimschy1-2/+3
2013-11-08added patch for last bugRoberto Ierusalimschy1-2/+28
2013-11-08new macro 'luai_userstateclose' (to test it is being called correctly)Roberto Ierusalimschy1-1/+3
2013-11-08bug: should call 'luai_userstateclose' only when 'luai_userstateopen'Roberto Ierusalimschy1-6/+8
has been called before
2013-10-10"./?/init.lua" added to default pathRoberto Ierusalimschy1-3/+5
2013-10-07detail (changing some names of macros)Roberto Ierusalimschy2-17/+17
2013-09-17CallInfo lists shrinks together with their associated stacksRoberto Ierusalimschy4-6/+29
2013-09-13GC local pause configurableRoberto Ierusalimschy6-35/+41
2013-09-11detail (setmetatable do not need to use a back GC barrier)Roberto Ierusalimschy2-7/+3
2013-09-11type of 'refcount' changed to lu_mem (to ensure there will be noRoberto Ierusalimschy1-2/+2
overflows)
2013-09-11check for shrinking string table done only at the end of a GC cycleRoberto Ierusalimschy2-8/+11
2013-09-11new names and better order for GC states (sweep first lists thatRoberto Ierusalimschy3-30/+30
can have dead objects)
2013-09-11threads are kept in a separated GC list, linked after the main threadRoberto Ierusalimschy5-47/+47
2013-09-11detail: 'sweepstep' checks end of phase after calling 'sweeplist', soRoberto Ierusalimschy1-6/+7
that phases with small lists return 0 at the first call to 'sweepstep'
2013-09-11objects in list 'tobefnz' have a GC life-cycle like all othersRoberto Ierusalimschy3-17/+21
(specifically they are cleaned during sweep phase)
2013-09-11'luaC_newobj' does not handle special cases; only special caseRoberto Ierusalimschy6-35/+31
now is threads, which do not use 'luaC_newobj' anymore.
2013-09-11more invariants added to memory checkRoberto Ierusalimschy1-3/+4
2013-09-05back to open hashing for the string table (but with a differentRoberto Ierusalimschy5-92/+61
'hnext' field, to strings are still collected like all other objects)
2013-09-04better (and correct!) control of 'maybedead'Roberto Ierusalimschy1-20/+19
2013-09-03local collection now calls finalizersRoberto Ierusalimschy6-80/+144
2013-08-30new GC state to sweep 'localgc' list + small changes in sweep controlRoberto Ierusalimschy5-46/+48
2013-08-30bug (GC can collect long identifier during parser) + change (usingRoberto Ierusalimschy6-46/+47
a single constant table for all functions in a chunk)
2013-08-30bug: GC can collect a long string still in use during parserRoberto Ierusalimschy1-2/+37
2013-08-29details (a few casts moved from macro invocation to macro definition)Roberto Ierusalimschy3-8/+8
2013-08-29bug: local collection must clear rest of stackRoberto Ierusalimschy1-2/+5
2013-08-28tables and userdata all go to local list, tooRoberto Ierusalimschy4-7/+17
2013-08-27LOCALBLACK changed to LOCALMARK and used also to control whether objectRoberto Ierusalimschy6-20/+24
is in 'localgc' list + luaC_newobj by default puts object in 'localgc' list
2013-08-27upvalues collected by reference countRoberto Ierusalimschy12-205/+157
2013-08-26Lua closures go to local, tooRoberto Ierusalimschy5-21/+72
2013-08-23C functions and strings now go to the local list; first versionRoberto Ierusalimschy6-15/+107
of the local collector
2013-08-22some details over new implementation of string tableRoberto Ierusalimschy3-22/+24
2013-08-21"fixed" objects kept in a separated list (instead of being kept inRoberto Ierusalimschy7-17/+33
'allgc' list with a bit marking them)
2013-08-21change in string table: string table is now independent of GC lists; allRoberto Ierusalimschy7-114/+125
strings live in 'normal' GC lists
2013-08-21initial size of string table (MINSTRTABSIZE) should be large enoughRoberto Ierusalimschy1-2/+2
to hold all strings needed by an empty Lua state
2013-08-20GC bits SEPARATED and FINALIZEDBIT mixed in FINALIZEDBIT (with simplerRoberto Ierusalimschy4-25/+20
control)
2013-08-19"barrier" for link prototype->cache changed to be consistent withRoberto Ierusalimschy3-33/+8
GC behavior (link is cleared to preserve invariant)
2013-08-19new function 'isgclocal' + test for GC consistency of prototype's cachesRoberto Ierusalimschy1-3/+16
2013-08-18'next' field for tables changed from pointer to integer (for betterRoberto Ierusalimschy3-29/+49
alignment on 64-bit machines)
2013-08-16detailsRoberto Ierusalimschy1-7/+4
2013-08-16added 'local' bit (true => object is only refered by local variables)Roberto Ierusalimschy10-53/+96
2013-08-13barrier conditions rewritten to test first 'isblack' and then 'iswhite'Roberto Ierusalimschy2-9/+11
(during a pause all objects are white, so 'isblack' fails much more often than 'iswhite')
2013-08-07change to allow collector to stop when it goes to the atomic phaseRoberto Ierusalimschy1-16/+17
(just for debugging)
2013-08-07double-linked list of all upvalues elliminated and changed to aRoberto Ierusalimschy7-72/+47
traversal of all non-marked threads
2013-08-05no more generational collection !!!Roberto Ierusalimschy10-190/+46
2013-07-22'debug.subtype' -> 'math.type' (to distinguish integers and floats)Roberto Ierusalimschy2-35/+17
2013-07-10'math.isfloat' replaced by 'debug.subtype'Roberto Ierusalimschy2-10/+35
2013-07-10bug: Wrong error message in some short-cut expressionsRoberto Ierusalimschy1-11/+19
2013-07-10use unsigneds for unary minus, tooRoberto Ierusalimschy3-9/+8
2013-07-09use different constants (instead of different values for the same constant)Roberto Ierusalimschy1-13/+27
to define number sizes (LUA_INT_INT/LUA_INT_LONG/LUA_INT_LONGLONG and LUA_REAL_FLOAT/LUA_REAL_DOUBLE/LUA_REAL_LONGDOUBLE) + use __int64 and I64 instead of long long (and ll) for Windows
2013-07-09avoid undefined shift of LUA_NBITS in rotate operationRoberto Ierusalimschy1-2/+3