Roberto Ierusalimschy
|
beb2aa5a46
atomic operations are not GC "states"
|
hace 21 años |
Roberto Ierusalimschy
|
47fc57a252
`TObject' renamed to `TValue' + other name changes and better assertions
|
hace 21 años |
Roberto Ierusalimschy
|
fe595a45c2
`grayagain' list
|
hace 22 años |
Roberto Ierusalimschy
|
9db1942bac
sweep of strings also incremental
|
hace 22 años |
Roberto Ierusalimschy
|
c6eac44a94
two different white flags (to distinguish dead elements from new ones)
|
hace 22 años |
Roberto Ierusalimschy
|
8878554b85
single list for all collectible objects, with udata separated at the
|
hace 22 años |
Roberto Ierusalimschy
|
af850484a9
default metatable can be NULL
|
hace 22 años |
Roberto Ierusalimschy
|
1d10acb355
incremental GC phases
|
hace 22 años |
Roberto Ierusalimschy
|
366e4af3c9
towards incremental GC
|
hace 22 años |
Roberto Ierusalimschy
|
b97fb932ec
Lua kernel does not use malloc/free functions.
|
hace 22 años |
Roberto Ierusalimschy
|
7dae7899b1
main thread and global state are allocated in a single block
|
hace 22 años |
Roberto Ierusalimschy
|
522407e23a
we do not need a default panic (that does nothing anyway...)
|
hace 22 años |
Roberto Ierusalimschy
|
fa26d294ae
new way to control `pc' of running functions
|
hace 22 años |
Roberto Ierusalimschy
|
0d88545b82
warnings from several compilers (mainly typecasts when lua_Number is float)
|
hace 22 años |
Roberto Ierusalimschy
|
ab9e062928
name changes to avoid name collision between macros and variables
|
hace 22 años |
Roberto Ierusalimschy
|
69dd9461e5
bug: GC metamethod calls could mess C/Lua stack syncronization
|
hace 22 años |
Roberto Ierusalimschy
|
e75a6ae9ee
`defaultmeta' is always empty, but registry needs some space for
|
hace 22 años |
Roberto Ierusalimschy
|
6f207b15fb
resist errors in finalizers during lua_close
|
hace 22 años |
Roberto Ierusalimschy
|
754c630754
details
|
hace 22 años |
Roberto Ierusalimschy
|
27c6b4d422
each .c file defines its own name
|
hace 23 años |
Roberto Ierusalimschy
|
2d2d45976c
separated control over C recursion level
|
hace 23 años |
Roberto Ierusalimschy
|
ddc144e4d2
keep L->ci->base in L->base for faster access
|
hace 23 años |
Roberto Ierusalimschy
|
d404f0c276
global_State must be deallocated (and so allocated) with NULL also
|
hace 23 años |
Roberto Ierusalimschy
|
be762f38bd
better organization of "malloc responsabilities"
|
hace 23 años |
Roberto Ierusalimschy
|
43013b39cc
new representation for hooks (to allow asynchronous calls to sethook)
|
hace 23 años |
Roberto Ierusalimschy
|
41fd639cab
documentation for write barriers
|
hace 23 años |
Roberto Ierusalimschy
|
2f91f95d94
better control over GCObjects
|
hace 23 años |
Roberto Ierusalimschy
|
e356a43dc0
C needs "union" (unlike C++)
|
hace 23 años |
Roberto Ierusalimschy
|
96e15b8501
threads now are real Lua objects, subject to garbage collection
|
hace 23 años |
Roberto Ierusalimschy
|
81bc5711a8
only one instance of registry and default metatable per global state
|
hace 23 años |