Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Lua 5.3.5 ported to gitv5.3.5 | Roberto Ierusalimschy | 2018-12-17 | 1 | -1/+1 |
| | | | | | | | This is the first commit for the branch Lua 5.3. All source files were copied from the official distribution of 5.3.5 in the Lua site. The test files are the same of 5.3.4. The manual came from the previous RCS repository, revision 1.167.1.2. | ||||
* | avoid empty macro arguments (invalid in C89) | Roberto Ierusalimschy | 2015-12-21 | 1 | -2/+2 |
| | |||||
* | 'condchangemem' also may need to run 'pre'/'pos' | Roberto Ierusalimschy | 2015-10-21 | 1 | -2/+3 |
| | |||||
* | added comments | Roberto Ierusalimschy | 2015-10-20 | 1 | -1/+8 |
| | |||||
* | cleaner definition for 'luaC_condGC', using 'pre'/'pos' parameters | Roberto Ierusalimschy | 2015-10-20 | 1 | -4/+5 |
| | |||||
* | barrier macros rewritten as expressions | Roberto Ierusalimschy | 2015-08-03 | 1 | -13/+13 |
| | |||||
* | `name' in comments changed to 'name' | Roberto Ierusalimschy | 2014-10-25 | 1 | -2/+2 |
| | |||||
* | 'iswhite' and related macros now can work directly on any object | Roberto Ierusalimschy | 2014-07-19 | 1 | -4/+4 |
| | | | | (no need to convert to 'GCObject') | ||||
* | put the restriction that 'luaC_barrierback' works only on tables | Roberto Ierusalimschy | 2014-07-19 | 1 | -3/+3 |
| | | | | in its prototype | ||||
* | no need for field 'gch' anymore | Roberto Ierusalimschy | 2014-07-17 | 1 | -8/+8 |
| | |||||
* | detail (removed unused prototype) | Roberto Ierusalimschy | 2014-03-19 | 1 | -2/+1 |
| | |||||
* | no need to keep threads in a different GC list, now that there is the | Roberto Ierusalimschy | 2014-02-18 | 1 | -7/+6 |
| | | | | 'twups' list | ||||
* | change in the way 'collectgarbage("step", size)' interprets 'size' | Roberto Ierusalimschy | 2014-02-14 | 1 | -2/+1 |
| | | | | | (mimicking the way the GC itself behaves when Lua allocates 'size' Kbytes) | ||||
* | better control for number of finalizers called at each GC cycle | Roberto Ierusalimschy | 2014-02-13 | 1 | -2/+3 |
| | | | | (increases progressively) | ||||
* | no more local collection | Roberto Ierusalimschy | 2014-02-13 | 1 | -20/+11 |
| | |||||
* | keep a single list of objects to be finalized (with local and non-local | Roberto Ierusalimschy | 2014-02-11 | 1 | -8/+7 |
| | | | | objects), to ensure finalization order | ||||
* | detail (setmetatable do not need to use a back GC barrier) | Roberto Ierusalimschy | 2013-09-11 | 1 | -5/+1 |
| | |||||
* | new names and better order for GC states (sweep first lists that | Roberto Ierusalimschy | 2013-09-11 | 1 | -9/+9 |
| | | | | can have dead objects) | ||||
* | threads are kept in a separated GC list, linked after the main thread | Roberto Ierusalimschy | 2013-09-11 | 1 | -4/+5 |
| | |||||
* | objects in list 'tobefnz' have a GC life-cycle like all others | Roberto Ierusalimschy | 2013-09-11 | 1 | -3/+4 |
| | | | | (specifically they are cleaned during sweep phase) | ||||
* | 'luaC_newobj' does not handle special cases; only special case | Roberto Ierusalimschy | 2013-09-11 | 1 | -6/+5 |
| | | | | now is threads, which do not use 'luaC_newobj' anymore. | ||||
* | local collection now calls finalizers | Roberto Ierusalimschy | 2013-09-03 | 1 | -5/+6 |
| | |||||
* | new GC state to sweep 'localgc' list + small changes in sweep control | Roberto Ierusalimschy | 2013-08-30 | 1 | -5/+7 |
| | |||||
* | details (a few casts moved from macro invocation to macro definition) | Roberto Ierusalimschy | 2013-08-29 | 1 | -3/+3 |
| | |||||
* | LOCALBLACK changed to LOCALMARK and used also to control whether object | Roberto Ierusalimschy | 2013-08-27 | 1 | -2/+2 |
| | | | | | is in 'localgc' list + luaC_newobj by default puts object in 'localgc' list | ||||
* | upvalues collected by reference count | Roberto Ierusalimschy | 2013-08-27 | 1 | -4/+10 |
| | |||||
* | C functions and strings now go to the local list; first version | Roberto Ierusalimschy | 2013-08-23 | 1 | -1/+2 |
| | | | | of the local collector | ||||
* | "fixed" objects kept in a separated list (instead of being kept in | Roberto Ierusalimschy | 2013-08-21 | 1 | -3/+3 |
| | | | | 'allgc' list with a bit marking them) | ||||
* | change in string table: string table is now independent of GC lists; all | Roberto Ierusalimschy | 2013-08-21 | 1 | -6/+5 |
| | | | | strings live in 'normal' GC lists | ||||
* | GC bits SEPARATED and FINALIZEDBIT mixed in FINALIZEDBIT (with simpler | Roberto Ierusalimschy | 2013-08-20 | 1 | -5/+5 |
| | | | | control) | ||||
* | "barrier" for link prototype->cache changed to be consistent with | Roberto Ierusalimschy | 2013-08-19 | 1 | -4/+1 |
| | | | | GC behavior (link is cleared to preserve invariant) | ||||
* | added 'local' bit (true => object is only refered by local variables) | Roberto Ierusalimschy | 2013-08-16 | 1 | -6/+14 |
| | |||||
* | barrier conditions rewritten to test first 'isblack' and then 'iswhite' | Roberto Ierusalimschy | 2013-08-13 | 1 | -8/+8 |
| | | | | | (during a pause all objects are white, so 'isblack' fails much more often than 'iswhite') | ||||
* | no more generational collection !!! | Roberto Ierusalimschy | 2013-08-05 | 1 | -23/+5 |
| | |||||
* | small bug: generational mode is always in 'propagate' mode only | Roberto Ierusalimschy | 2012-09-11 | 1 | -5/+14 |
| | | | | | outside the collector: during collection of course it must go to other modes. | ||||
* | collector in generational mode must be in 'propagate' state when | Roberto Ierusalimschy | 2012-07-04 | 1 | -3/+4 |
| | | | | not running a collection | ||||
* | definition of 'GCSTEPSIZE' moved to header file + small changes | Roberto Ierusalimschy | 2012-05-23 | 1 | -5/+11 |
| | |||||
* | simpler macro 'luaC_condGC' + better 'step' in 'lua_gc' + | Roberto Ierusalimschy | 2012-05-21 | 1 | -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 to | Roberto Ierusalimschy | 2012-05-11 | 1 | -2/+2 |
| | | | | macro 'luaC_condGC'. | ||||
* | documentation comment (small correction about strings being | Roberto Ierusalimschy | 2012-01-23 | 1 | -3/+5 |
| | | | | gray) | ||||
* | 'luaC_separateudata' renamed to 'separatetobefnz' and called only | Roberto Ierusalimschy | 2011-10-03 | 1 | -2/+1 |
| | | | | from 'lgc.c' | ||||
* | lint (unused macros) | Roberto Ierusalimschy | 2011-09-30 | 1 | -4/+1 |
| | |||||
* | detail (cleaning trailing spaces) | Roberto Ierusalimschy | 2011-01-26 | 1 | -2/+2 |
| | |||||
* | full collection does not restart collector + avoid changing GC | Roberto Ierusalimschy | 2010-12-29 | 1 | -1/+2 |
| | | | | state if an error happens in a step | ||||
* | better control for GC running or stopped | Roberto Ierusalimschy | 2010-12-20 | 1 | -5/+1 |
| | |||||
* | new macro 'luaC_condGC' to allow extra code to be run in case | Roberto Ierusalimschy | 2010-12-17 | 1 | -2/+4 |
| | | | | of GC steps | ||||
* | comments | Roberto Ierusalimschy | 2010-12-02 | 1 | -3/+3 |
| | |||||
* | finalizers (__gc) for tables | Roberto Ierusalimschy | 2010-11-26 | 1 | -2/+2 |
| | |||||
* | typo in comments | Roberto Ierusalimschy | 2010-06-30 | 1 | -2/+2 |
| | |||||
* | better barrier for prototypes | Roberto Ierusalimschy | 2010-06-07 | 1 | -4/+4 |
| |