Roberto Ierusalimschy
|
8878554b85
single list for all collectible objects, with udata separated at the
|
22 years ago |
Roberto Ierusalimschy
|
af850484a9
default metatable can be NULL
|
22 years ago |
Roberto Ierusalimschy
|
1d10acb355
incremental GC phases
|
22 years ago |
Roberto Ierusalimschy
|
57b6ed6815
initial implementation of white/gray/black coloring
|
22 years ago |
Roberto Ierusalimschy
|
366e4af3c9
towards incremental GC
|
22 years ago |
Roberto Ierusalimschy
|
ab7d9bfd0c
cleaner code for manipulation of `marked' field
|
22 years ago |
Roberto Ierusalimschy
|
8332d5c8a5
parser fully reentrant(!)
|
22 years ago |
Roberto Ierusalimschy
|
a0a384a6b1
bug: userdata to be collected still counts into new GC threshold,
|
22 years ago |
Roberto Ierusalimschy
|
fa26d294ae
new way to control `pc' of running functions
|
22 years ago |
Roberto Ierusalimschy
|
9e05503ffa
bug: C functions also may have stacks larger than current top
|
22 years ago |
Roberto Ierusalimschy
|
ecf5730c0c
(much) smarter way to clear weak tables
|
22 years ago |
Roberto Ierusalimschy
|
572a69df78
Lua does not need all those different types...
|
22 years ago |
Roberto Ierusalimschy
|
0d88545b82
warnings from several compilers (mainly typecasts when lua_Number is float)
|
22 years ago |
Roberto Ierusalimschy
|
ab9e062928
name changes to avoid name collision between macros and variables
|
22 years ago |
Roberto Ierusalimschy
|
7a40cdbda0
different variables for number of upvalues and size of upvalue array
|
22 years ago |
Roberto Ierusalimschy
|
6f207b15fb
resist errors in finalizers during lua_close
|
22 years ago |
Roberto Ierusalimschy
|
dd8edecae1
new functions to manipulate upvales (get/setupvalue)
|
23 years ago |
Roberto Ierusalimschy
|
27c6b4d422
each .c file defines its own name
|
23 years ago |
Roberto Ierusalimschy
|
c75c3cfd19
avoid names `str...' (may conflict with string.h)
|
23 years ago |
Roberto Ierusalimschy
|
e47baca75a
warnings from Visual C++
|
23 years ago |
Roberto Ierusalimschy
|
dbc5451bea
comments
|
23 years ago |
Roberto Ierusalimschy
|
5142e630bf
new macro `condhardstacktests' to control hard stack tests
|
23 years ago |
Roberto Ierusalimschy
|
2e4e888de0
Lua functions must have a frame or a saved pc.
|
23 years ago |
Roberto Ierusalimschy
|
aff97fffc4
C functions cannot increase its top without filling the stack
|
23 years ago |
Roberto Ierusalimschy
|
43013b39cc
new representation for hooks (to allow asynchronous calls to sethook)
|
23 years ago |
Roberto Ierusalimschy
|
5c5d9b2703
back to `__mode' metafield to specify weakness
|
23 years ago |
Roberto Ierusalimschy
|
3010eb0536
all objects with several children (tables, closures, stacks, prototypes)
|
23 years ago |
Roberto Ierusalimschy
|
ac27b7a842
avoid traversing extra elements when cleaning weak tables
|
23 years ago |
Roberto Ierusalimschy
|
dff9be4224
new macros to distinguish different types of object moves (for future GC
|
23 years ago |
Roberto Ierusalimschy
|
96e15b8501
threads now are real Lua objects, subject to garbage collection
|
23 years ago |