summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* new bug: Resuming the running coroutine makes it unyieldableRoberto Ierusalimschy2013-11-081-2/+32
|
* bug: attempting to resume the running coroutine makes it unyieldableRoberto Ierusalimschy2013-11-081-2/+3
|
* added patch for last bugRoberto Ierusalimschy2013-11-081-2/+28
|
* new macro 'luai_userstateclose' (to test it is being called correctly)Roberto Ierusalimschy2013-11-081-1/+3
|
* bug: should call 'luai_userstateclose' only when 'luai_userstateopen'Roberto Ierusalimschy2013-11-081-6/+8
| | | | has been called before
* "./?/init.lua" added to default pathRoberto Ierusalimschy2013-10-101-3/+5
|
* detail (changing some names of macros)Roberto Ierusalimschy2013-10-072-17/+17
|
* CallInfo lists shrinks together with their associated stacksRoberto Ierusalimschy2013-09-174-6/+29
|
* GC local pause configurableRoberto Ierusalimschy2013-09-136-35/+41
|
* detail (setmetatable do not need to use a back GC barrier)Roberto Ierusalimschy2013-09-112-7/+3
|
* type of 'refcount' changed to lu_mem (to ensure there will be noRoberto Ierusalimschy2013-09-111-2/+2
| | | | overflows)
* check for shrinking string table done only at the end of a GC cycleRoberto Ierusalimschy2013-09-112-8/+11
|
* new names and better order for GC states (sweep first lists thatRoberto Ierusalimschy2013-09-113-30/+30
| | | | can have dead objects)
* threads are kept in a separated GC list, linked after the main threadRoberto Ierusalimschy2013-09-115-47/+47
|
* detail: 'sweepstep' checks end of phase after calling 'sweeplist', soRoberto Ierusalimschy2013-09-111-6/+7
| | | | that phases with small lists return 0 at the first call to 'sweepstep'
* objects in list 'tobefnz' have a GC life-cycle like all othersRoberto Ierusalimschy2013-09-113-17/+21
| | | | (specifically they are cleaned during sweep phase)
* 'luaC_newobj' does not handle special cases; only special caseRoberto Ierusalimschy2013-09-116-35/+31
| | | | now is threads, which do not use 'luaC_newobj' anymore.
* more invariants added to memory checkRoberto Ierusalimschy2013-09-111-3/+4
|
* back to open hashing for the string table (but with a differentRoberto Ierusalimschy2013-09-055-92/+61
| | | | | 'hnext' field, to strings are still collected like all other objects)
* better (and correct!) control of 'maybedead'Roberto Ierusalimschy2013-09-041-20/+19
|
* local collection now calls finalizersRoberto Ierusalimschy2013-09-036-80/+144
|
* new GC state to sweep 'localgc' list + small changes in sweep controlRoberto Ierusalimschy2013-08-305-46/+48
|
* bug (GC can collect long identifier during parser) + change (usingRoberto Ierusalimschy2013-08-306-46/+47
| | | | a single constant table for all functions in a chunk)
* bug: GC can collect a long string still in use during parserRoberto Ierusalimschy2013-08-301-2/+37
|
* details (a few casts moved from macro invocation to macro definition)Roberto Ierusalimschy2013-08-293-8/+8
|
* bug: local collection must clear rest of stackRoberto Ierusalimschy2013-08-291-2/+5
|
* tables and userdata all go to local list, tooRoberto Ierusalimschy2013-08-284-7/+17
|
* LOCALBLACK changed to LOCALMARK and used also to control whether objectRoberto Ierusalimschy2013-08-276-20/+24
| | | | | is in 'localgc' list + luaC_newobj by default puts object in 'localgc' list
* upvalues collected by reference countRoberto Ierusalimschy2013-08-2712-205/+157
|
* Lua closures go to local, tooRoberto Ierusalimschy2013-08-265-21/+72
|
* C functions and strings now go to the local list; first versionRoberto Ierusalimschy2013-08-236-15/+107
| | | | of the local collector
* some details over new implementation of string tableRoberto Ierusalimschy2013-08-223-22/+24
|
* "fixed" objects kept in a separated list (instead of being kept inRoberto Ierusalimschy2013-08-217-17/+33
| | | | 'allgc' list with a bit marking them)
* change in string table: string table is now independent of GC lists; allRoberto Ierusalimschy2013-08-217-114/+125
| | | | strings live in 'normal' GC lists
* initial size of string table (MINSTRTABSIZE) should be large enoughRoberto Ierusalimschy2013-08-211-2/+2
| | | | to hold all strings needed by an empty Lua state
* GC bits SEPARATED and FINALIZEDBIT mixed in FINALIZEDBIT (with simplerRoberto Ierusalimschy2013-08-204-25/+20
| | | | control)
* "barrier" for link prototype->cache changed to be consistent withRoberto Ierusalimschy2013-08-193-33/+8
| | | | GC behavior (link is cleared to preserve invariant)
* new function 'isgclocal' + test for GC consistency of prototype's cachesRoberto Ierusalimschy2013-08-191-3/+16
|
* 'next' field for tables changed from pointer to integer (for betterRoberto Ierusalimschy2013-08-183-29/+49
| | | | alignment on 64-bit machines)
* detailsRoberto Ierusalimschy2013-08-161-7/+4
|
* added 'local' bit (true => object is only refered by local variables)Roberto Ierusalimschy2013-08-1610-53/+96
|
* barrier conditions rewritten to test first 'isblack' and then 'iswhite'Roberto Ierusalimschy2013-08-132-9/+11
| | | | | (during a pause all objects are white, so 'isblack' fails much more often than 'iswhite')
* change to allow collector to stop when it goes to the atomic phaseRoberto Ierusalimschy2013-08-071-16/+17
| | | | (just for debugging)
* double-linked list of all upvalues elliminated and changed to aRoberto Ierusalimschy2013-08-077-72/+47
| | | | traversal of all non-marked threads
* no more generational collection !!!Roberto Ierusalimschy2013-08-0510-190/+46
|
* 'debug.subtype' -> 'math.type' (to distinguish integers and floats)Roberto Ierusalimschy2013-07-222-35/+17
|
* 'math.isfloat' replaced by 'debug.subtype'Roberto Ierusalimschy2013-07-102-10/+35
|
* bug: Wrong error message in some short-cut expressionsRoberto Ierusalimschy2013-07-101-11/+19
|
* use unsigneds for unary minus, tooRoberto Ierusalimschy2013-07-103-9/+8
|
* use different constants (instead of different values for the same constant)Roberto Ierusalimschy2013-07-091-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