Roberto Ierusalimschy
|
1d8920dd7f
some cleaning in GC parameters
|
8 years ago |
Roberto Ierusalimschy
|
72d82a296c
revamping the incremental collector
|
8 years ago |
Roberto Ierusalimschy
|
2376eb6347
barrier for prototype's cache (with new gray list 'protogray' to keep
|
8 years ago |
Roberto Ierusalimschy
|
a3d36fe283
Upvalues collected like everything else (with mark-sweep) instead
|
8 years ago |
Roberto Ierusalimschy
|
9569ad6b0d
Comments for generational collector
|
8 years ago |
Roberto Ierusalimschy
|
2331e1beec
small changes in 'luaC_upvalbarrier'
|
8 years ago |
Roberto Ierusalimschy
|
e4287da3a6
generational collector (still not complete)
|
8 years ago |
Roberto Ierusalimschy
|
f5f3df3bd1
generational collection: new attempt (still incomplete)
|
8 years ago |
Roberto Ierusalimschy
|
c0836dda74
avoid empty macro arguments (invalid in C89)
|
10 years ago |
Roberto Ierusalimschy
|
3ad55386c4
'condchangemem' also may need to run 'pre'/'pos'
|
10 years ago |
Roberto Ierusalimschy
|
caf8278710
added comments
|
10 years ago |
Roberto Ierusalimschy
|
f7670781cf
cleaner definition for 'luaC_condGC', using 'pre'/'pos' parameters
|
10 years ago |
Roberto Ierusalimschy
|
20b9e59441
barrier macros rewritten as expressions
|
10 years ago |
Roberto Ierusalimschy
|
bdf566a8a3
`name' in comments changed to 'name'
|
11 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
|
12 years ago |
Roberto Ierusalimschy
|
1cce3e6842
change in the way 'collectgarbage("step", size)' interprets 'size'
|
12 years ago |
Roberto Ierusalimschy
|
de3b1c9b53
better control for number of finalizers called at each GC cycle
|
12 years ago |
Roberto Ierusalimschy
|
733c58595b
no more local collection
|
12 years ago |
Roberto Ierusalimschy
|
ba3586cc90
keep a single list of objects to be finalized (with local and non-local
|
12 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 |