Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Do not collect open upvalues | Roberto Ierusalimschy | 2019-07-22 | 1 | -1/+1 |
| | | | | | | | | Open upvalues are kept alive together with their corresponding stack. This change makes a simpler and safer fix to the issue in commit 440a5ee78c8, about upvalues in the list of open upvalues being collected while others are being created. (That previous fix may not be correct.) | ||||
* | Fixed bug for emergency collection in upvalue creation | Roberto Ierusalimschy | 2019-07-19 | 1 | -1/+1 |
| | | | | | | | | | | | When creating an upvalue, an emergency collection can collect the previous upvalue where the new one would be linked. The following code can trigger the bug, using valgrind on Lua compiled with the -DHARDMEMTESTS option: local x; local y (function () return y end)(); (function () return x end)() | ||||
* | New functions 'lua_resetthread' and 'coroutine.kill' | Roberto Ierusalimschy | 2018-12-13 | 1 | -0/+11 |
| | | | | | | New functions to reset/kill a thread/coroutine, mainly (only?) to close any pending to-be-closed variable. ('lua_resetthread' also allows a thread to be reused...) | ||||
* | Handling of memory errors when creating to-be-closed upvalues | Roberto Ierusalimschy | 2018-10-18 | 1 | -0/+1 |
| | |||||
* | First "complete" implementation of to-be-closed variables | Roberto Ierusalimschy | 2018-10-17 | 1 | -1/+1 |
| | | | | | | | Still missing: - handling of memory errors when creating upvalue (must run closing method all the same) - interaction with coroutines | ||||
* | Removed extra information from RCS keyword strings | Roberto Ierusalimschy | 2018-08-23 | 1 | -1/+1 |
| | | | | | Version numbers and dates (mostly wrong) from RCS keyword strings removed from all source files; only the file name are kept. | ||||
* | using 'offsetof' to compute the size of parts of a structure | Roberto Ierusalimschy | 2018-02-25 | 1 | -5/+5 |
| | |||||
* | janitor work on casts | Roberto Ierusalimschy | 2018-01-28 | 1 | -5/+5 |
| | |||||
* | new type 'StackValue' for stack elements | Roberto Ierusalimschy | 2017-06-29 | 1 | -1/+4 |
| | | | | (we may want to put extra info there in the future) | ||||
* | barrier for prototype's cache (with new gray list 'protogray' to keep | Roberto Ierusalimschy | 2017-05-04 | 1 | -1/+8 |
| | | | | prototypes to have their caches visited again) + constant 'MAXMISS' | ||||
* | Upvalues collected like everything else (with mark-sweep) instead | Roberto Ierusalimschy | 2017-04-11 | 1 | -16/+2 |
| | | | | of reference count (simpler and better for generational mode) | ||||
* | definition for 'MAXUPVAL' moved for a more "private" place and its | Roberto Ierusalimschy | 2015-01-13 | 1 | -1/+8 |
| | | | | value and comment corrected to reflect current implementation | ||||
* | more precision between closure types ('LClosure' x 'CClosure') | Roberto Ierusalimschy | 2014-06-19 | 1 | -3/+3 |
| | |||||
* | new list 'twups' to allow traversal of upvalues from dead threads | Roberto Ierusalimschy | 2014-02-18 | 1 | -1/+5 |
| | | | | (+ fixed some problems with cycles involving those upvalues) | ||||
* | field 'op' renamed to 'open' | Roberto Ierusalimschy | 2014-02-15 | 1 | -2/+2 |
| | |||||
* | type of 'refcount' changed to lu_mem (to ensure there will be no | Roberto Ierusalimschy | 2013-09-11 | 1 | -2/+2 |
| | | | | overflows) | ||||
* | upvalues collected by reference count | Roberto Ierusalimschy | 2013-08-27 | 1 | -2/+20 |
| | |||||
* | double-linked list of all upvalues elliminated and changed to a | Roberto Ierusalimschy | 2013-08-07 | 1 | -2/+1 |
| | | | | traversal of all non-marked threads | ||||
* | no more 'Proto' objects on the stack. Protos are anchored on outer | Roberto Ierusalimschy | 2012-05-08 | 1 | -2/+2 |
| | | | | Protos or on a Closure, which must be created before the Proto. | ||||
* | object tag keeps variant bits too -> no need for 'isC' field in | Roberto Ierusalimschy | 2012-01-20 | 1 | -2/+1 |
| | | | | Closures + more strick typing for closure variants | ||||
* | 'luaF_newLclosure' gets prototype of new closure as argument | Roberto Ierusalimschy | 2010-06-04 | 1 | -2/+2 |
| | |||||
* | no more fenvs! | Roberto Ierusalimschy | 2010-03-26 | 1 | -3/+3 |
| | |||||
* | added LUAI_FUNC to functions not in the API | Roberto Ierusalimschy | 2005-04-25 | 1 | -12/+12 |
| | |||||
* | C functions and userdata also have environments | Roberto Ierusalimschy | 2005-02-18 | 1 | -3/+3 |
| | |||||
* | cleaner way to remark open upvalues | Roberto Ierusalimschy | 2005-01-18 | 1 | -1/+2 |
| | |||||
* | `TObject' renamed to `TValue' + other name changes and better assertions | Roberto Ierusalimschy | 2003-12-10 | 1 | -4/+4 |
| | | | | for incremental garbage collection | ||||
* | macros for closure sizes are global | Roberto Ierusalimschy | 2003-11-24 | 1 | -1/+8 |
| | |||||
* | it's ok to dump functions with upvalues | Roberto Ierusalimschy | 2003-10-20 | 1 | -1/+2 |
| | |||||
* | name changes to avoid name collision between macros and variables | Roberto Ierusalimschy | 2003-03-18 | 1 | -2/+2 |
| | |||||
* | first implementation of independent global table per function | Roberto Ierusalimschy | 2002-06-20 | 1 | -2/+2 |
| | |||||
* | new implementation for lua upvalues (sugested by E.T.): simpler and solves | Roberto Ierusalimschy | 2001-11-29 | 1 | -1/+1 |
| | | | | a bug for multi-stacks | ||||
* | no more explicit support for wide-chars; too much troble... | Roberto Ierusalimschy | 2001-11-28 | 1 | -2/+2 |
| | |||||
* | new definitions for closure structures | Roberto Ierusalimschy | 2001-10-02 | 1 | -6/+1 |
| | |||||
* | first implementation of unrestricted static scoping | Roberto Ierusalimschy | 2001-09-07 | 1 | -2/+9 |
| | |||||
* | first (big) step to support wide chars | Roberto Ierusalimschy | 2001-02-23 | 1 | -2/+2 |
| | |||||
* | `free' gets size of the block: complete control over memory use | Roberto Ierusalimschy | 2000-12-28 | 1 | -2/+1 |
| | |||||
* | new way to count `nblocks' for GC (try to count bytes). | Roberto Ierusalimschy | 2000-09-29 | 1 | -1/+2 |
| | |||||
* | new version of debug system | Roberto Ierusalimschy | 2000-06-26 | 1 | -3/+2 |
| | |||||
* | some name changes | Roberto Ierusalimschy | 2000-03-10 | 1 | -4/+4 |
| | |||||
* | comments. | Roberto Ierusalimschy | 1999-12-27 | 1 | -2/+2 |
| | |||||
* | first implementation of multiple states (reentrant code). | Roberto Ierusalimschy | 1999-11-22 | 1 | -5/+5 |
| | |||||
* | some more `const's | Roberto Ierusalimschy | 1999-10-14 | 1 | -2/+3 |
| | |||||
* | simplified version of `gc' tag method (only for userdata now). | Roberto Ierusalimschy | 1999-10-04 | 1 | -3/+3 |
| | |||||
* | "const" !!! | Roberto Ierusalimschy | 1999-08-16 | 1 | -2/+2 |
| | |||||
* | optimization: closures without upvalues don't need to be closures | Roberto Ierusalimschy | 1997-12-15 | 1 | -2/+1 |
| | |||||
* | first implementation of centralized global state. | Roberto Ierusalimschy | 1997-11-19 | 1 | -4/+1 |
| | |||||
* | first version of Cclosures. | Roberto Ierusalimschy | 1997-10-24 | 1 | -1/+2 |
| | |||||
* | better way to traverse GCnode lists. | Roberto Ierusalimschy | 1997-09-26 | 1 | -3/+3 |
| | |||||
* | Lua Function structures | Roberto Ierusalimschy | 1997-09-16 | 1 | -0/+26 |