251 Commits (24f6e236a3346183fe8a946568e6b0cd864abd42)

Author SHA1 Message Date
Roberto Ierusalimschy 138d00176c new flag in 'CallInfo.callstatus' to tell whether function is running 8 years ago
Roberto Ierusalimschy 644799537f allow more bits in 'callstatus' (use no extra space due to alignments) 9 years ago
Roberto Ierusalimschy c4e01c568a make 'hook' volatile (as it may be changed in signal handling) 9 years ago
Roberto Ierusalimschy 656b3cea1b using 'sig_atomic_t' for 'hookmask' (as it can be changed inside 9 years ago
Roberto Ierusalimschy 89e3a84344 removed field 'n' from 'CallInfo' (not being used right now) 9 years ago
Roberto Ierusalimschy 33b366ec32 added counters for total and individual CallInfo entries (to allow 9 years ago
Roberto Ierusalimschy 07a2dcacbf flag CIST_REENTRY changed to CIST_FRESH (its negation); fresh invocations 9 years ago
Roberto Ierusalimschy 9fae7b6d3f code for string cache generalized for "associative sets" (compiler 9 years ago
Roberto Ierusalimschy 41964648ee long strings are created directly in final position when possible 9 years ago
Roberto Ierusalimschy bde17a419d because of debt, 'totalbytes' can be negative (and therefore its 9 years ago
Roberto Ierusalimschy 6645bb2df4 'strcache' elements as arrays of 1 element hints that cache can 10 years ago
Roberto Ierusalimschy ae76c39712 Bug: suspended '__le' metamethod can give wrong result 10 years ago
Roberto Ierusalimschy a80cada914 new cache for interning strings 10 years ago
Roberto Ierusalimschy 4542fb9f78 comments (a few extra quotes around identifiers) 10 years ago
Roberto Ierusalimschy bdf566a8a3 `name' in comments changed to 'name' 10 years ago
Roberto Ierusalimschy 2a21f6c894 'lua_Kcontext' -> 'lua_KContext' 10 years ago
Roberto Ierusalimschy 3670db99b6 comments 10 years ago
Roberto Ierusalimschy 2be88d5084 'lua_Ctx' -> 'lua_Kcontext' 10 years ago
Roberto Ierusalimschy 753f2c1da4 better(?) alignment for some structures (pointers first) 10 years ago
Roberto Ierusalimschy bb12903120 type 'Udata' refers directly to structure inside the union (union 10 years ago
Roberto Ierusalimschy ca41b43f53 type 'TString' refers directly to the structure inside the union 10 years ago
Roberto Ierusalimschy 56137d58ff added check for conversion 'obj2gco' (and corrections for small 10 years ago
Roberto Ierusalimschy 9aec500a26 no need for field 'gch' anymore 10 years ago
Roberto Ierusalimschy 5a9cc57a5e change in GCObject: instead of being a union, it is now a structure 10 years ago
Roberto Ierusalimschy 1aa4f69b51 new type 'lua_Ctx' for continuation-function contexts (to allow type 10 years ago
Roberto Ierusalimschy fa3113ffbf cleaner way to handle bit CIST_OAH (with auxiliar macros) 11 years ago
Roberto Ierusalimschy 88a9e51f34 bit-field CIST_YIELDED removed (it was never consulted) 11 years ago
Roberto Ierusalimschy 542b6cfc02 no need for field 'status' in structure 'CallInfo' (after removal 11 years ago
Roberto Ierusalimschy 6f6fd96e3b new type lua_KFunction + no more 'lua_getctx' 11 years ago
Roberto Ierusalimschy 0aa32fa0cb small changes in field order in some structs to reduce padding 11 years ago
Roberto Ierusalimschy 3f78de256e no need to keep threads in a different GC list, now that there is the 11 years ago
Roberto Ierusalimschy d764cc5522 new list 'twups' to allow traversal of upvalues from dead threads 11 years ago
Roberto Ierusalimschy de3b1c9b53 better control for number of finalizers called at each GC cycle 11 years ago
Roberto Ierusalimschy 733c58595b no more local collection 11 years ago
Roberto Ierusalimschy ba3586cc90 keep a single list of objects to be finalized (with local and non-local 11 years ago
Roberto Ierusalimschy 4c6dfc342b CallInfo lists shrinks together with their associated stacks 11 years ago
Roberto Ierusalimschy 686e57cf9c GC local pause configurable 11 years ago
Roberto Ierusalimschy dd373a8f66 threads are kept in a separated GC list, linked after the main thread 11 years ago
Roberto Ierusalimschy d3bbb34c24 back to open hashing for the string table (but with a different 11 years ago
Roberto Ierusalimschy aeff4f79fa local collection now calls finalizers 11 years ago
Roberto Ierusalimschy 1bf4faec64 new GC state to sweep 'localgc' list + small changes in sweep control 11 years ago
Roberto Ierusalimschy af35c7f398 upvalues collected by reference count 11 years ago
Roberto Ierusalimschy 742b7377d3 Lua closures go to local, too 11 years ago
Roberto Ierusalimschy 50955e27f5 C functions and strings now go to the local list; first version 11 years ago
Roberto Ierusalimschy 33c49f7fa0 some details over new implementation of string table 11 years ago
Roberto Ierusalimschy 0df6635711 "fixed" objects kept in a separated list (instead of being kept in 11 years ago
Roberto Ierusalimschy ae800656c9 change in string table: string table is now independent of GC lists; all 11 years ago
Roberto Ierusalimschy 8f6b80aa1d GC bits SEPARATED and FINALIZEDBIT mixed in FINALIZEDBIT (with simpler 11 years ago
Roberto Ierusalimschy 623e388bb4 double-linked list of all upvalues elliminated and changed to a 11 years ago
Roberto Ierusalimschy 677d90165f no more generational collection !!! 11 years ago