Roberto Ierusalimschy
|
1c1a98e872
corrected some places where an old object could end up in front
|
15 years ago |
Roberto Ierusalimschy
|
c006f085d9
new macro 'resetoldbit'
|
15 years ago |
Roberto Ierusalimschy
|
de97177744
avoid 'else assert' (which may result in an empty else)
|
15 years ago |
Roberto Ierusalimschy
|
0fac33da9e
bug: incremental sweep was not cleaning old bits (as it stopped in the
|
15 years ago |
Roberto Ierusalimschy
|
25951e0ea5
some cleaning in 'sweeplist' (threads do not need to be traversed
|
15 years ago |
Roberto Ierusalimschy
|
d2ea5b00b7
new function 'luaC_changemode' +
|
15 years ago |
Roberto Ierusalimschy
|
7444b5a1d5
better documentation of GC costs
|
15 years ago |
Roberto Ierusalimschy
|
3e662cec89
full GC must run finalizers only after finishing everything else
|
15 years ago |
Roberto Ierusalimschy
|
aa73403ba4
no need of a KGC_FORCED collection kind; it has the same behavior of
|
15 years ago |
Roberto Ierusalimschy
|
0c27de2e7b
no more 'finalize' phase in GC; finalizers are called along the
|
15 years ago |
Roberto Ierusalimschy
|
d25f7f9d78
items in 'tobefnz' are kept black (as before recent change) and changed
|
15 years ago |
Roberto Ierusalimschy
|
4d871ee973
"gray lists" only need to be valid when 'keepinvariant' is true
|
15 years ago |
Roberto Ierusalimschy
|
23001d8607
nasty GC bug: upvalue must be turned white when not keeping invariant,
|
15 years ago |
Roberto Ierusalimschy
|
aaa5d7adab
'luaC_linkupval' moved into 'lfunc.c' code + new way to control GC speed
|
15 years ago |
Roberto Ierusalimschy
|
00114a95b2
lots of new comments + small changes in loop controls + other small
|
15 years ago |
Roberto Ierusalimschy
|
4aaf0ef75c
"to-be-finalized" objects marked and sweeped like all other objects
|
15 years ago |
Roberto Ierusalimschy
|
d20ff60615
new macro LUA_NUMTAGS
|
15 years ago |
Roberto Ierusalimschy
|
a09c8d7beb
cannot sweep main thread in sweepstring phase
|
15 years ago |
Roberto Ierusalimschy
|
e54668b696
added proper code to trace garbage collection
|
15 years ago |
Roberto Ierusalimschy
|
a8d3aa14fd
global table now is only kept in the registry
|
15 years ago |
Roberto Ierusalimschy
|
064e406f67
no more fenvs!
|
15 years ago |
Roberto Ierusalimschy
|
5c87f61e6b
major collections in generational mode
|
15 years ago |
Roberto Ierusalimschy
|
3aa9598177
'mainthread' is not inserted in the 'allgc' list anymore, but swept
|
15 years ago |
Roberto Ierusalimschy
|
64d39ed1b6
generational mode no longer sweep old objects
|
15 years ago |
Roberto Ierusalimschy
|
4433dbb5f5
userdata with finalizers are kept in a separated list ('udgc'), instead
|
15 years ago |
Roberto Ierusalimschy
|
5cb128ea54
BUG: emergency collector might resize 'strt' (string table) when
|
15 years ago |
Roberto Ierusalimschy
|
74123e9686
draft version of a generational mode for garbage collection. (Not well
|
15 years ago |
Roberto Ierusalimschy
|
f84b575cfa
no more pseudoindex LUA_GLOBALSINDEX; global table now accessible
|
15 years ago |
Roberto Ierusalimschy
|
0bbdddc86b
allocator function receives the tag of object being allocated in 'osize'
|
15 years ago |
Roberto Ierusalimschy
|
8da245bfd2
better to keep GC state numbers sequential, to optimize switch in
|
15 years ago |