Roberto Ierusalimschy
|
bdf566a8a3
`name' in comments changed to 'name'
|
10 years ago |
Roberto Ierusalimschy
|
3c6d0aaa7d
'iswhite' and related macros now can work directly on any object
|
11 years ago |
Roberto Ierusalimschy
|
e43612aaf6
put the restriction that 'luaC_barrierback' works only on tables
|
11 years ago |
Roberto Ierusalimschy
|
9aec500a26
no need for field 'gch' anymore
|
11 years ago |
Roberto Ierusalimschy
|
ed795d5ff4
detail (removed unused prototype)
|
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
|
1cce3e6842
change in the way 'collectgarbage("step", size)' interprets 'size'
|
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
|
06156e7575
detail (setmetatable do not need to use a back GC barrier)
|
12 years ago |
Roberto Ierusalimschy
|
4eeb1831be
new names and better order for GC states (sweep first lists that
|
12 years ago |
Roberto Ierusalimschy
|
dd373a8f66
threads are kept in a separated GC list, linked after the main thread
|
12 years ago |
Roberto Ierusalimschy
|
d8aa8dd97e
objects in list 'tobefnz' have a GC life-cycle like all others
|
12 years ago |
Roberto Ierusalimschy
|
1150873447
'luaC_newobj' does not handle special cases; only special case
|
12 years ago |
Roberto Ierusalimschy
|
aeff4f79fa
local collection now calls finalizers
|
12 years ago |
Roberto Ierusalimschy
|
1bf4faec64
new GC state to sweep 'localgc' list + small changes in sweep control
|
12 years ago |
Roberto Ierusalimschy
|
26629d0af1
details (a few casts moved from macro invocation to macro definition)
|
12 years ago |
Roberto Ierusalimschy
|
90972ff136
LOCALBLACK changed to LOCALMARK and used also to control whether object
|
12 years ago |
Roberto Ierusalimschy
|
af35c7f398
upvalues collected by reference count
|
12 years ago |
Roberto Ierusalimschy
|
50955e27f5
C functions and strings now go to the local list; first version
|
12 years ago |
Roberto Ierusalimschy
|
0df6635711
"fixed" objects kept in a separated list (instead of being kept in
|
12 years ago |
Roberto Ierusalimschy
|
ae800656c9
change in string table: string table is now independent of GC lists; all
|
12 years ago |
Roberto Ierusalimschy
|
8f6b80aa1d
GC bits SEPARATED and FINALIZEDBIT mixed in FINALIZEDBIT (with simpler
|
12 years ago |
Roberto Ierusalimschy
|
9eff921f8f
"barrier" for link prototype->cache changed to be consistent with
|
12 years ago |
Roberto Ierusalimschy
|
439d74e29f
added 'local' bit (true => object is only refered by local variables)
|
12 years ago |
Roberto Ierusalimschy
|
3679d33b02
barrier conditions rewritten to test first 'isblack' and then 'iswhite'
|
12 years ago |
Roberto Ierusalimschy
|
677d90165f
no more generational collection !!!
|
12 years ago |
Roberto Ierusalimschy
|
ae1d318822
small bug: generational mode is always in 'propagate' mode only
|
13 years ago |
Roberto Ierusalimschy
|
e4f609d0ee
collector in generational mode must be in 'propagate' state when
|
13 years ago |