Roberto Ierusalimschy
|
aa73403ba4
no need of a KGC_FORCED collection kind; it has the same behavior of
|
před 15 roky |
Roberto Ierusalimschy
|
0c27de2e7b
no more 'finalize' phase in GC; finalizers are called along the
|
před 15 roky |
Roberto Ierusalimschy
|
d25f7f9d78
items in 'tobefnz' are kept black (as before recent change) and changed
|
před 15 roky |
Roberto Ierusalimschy
|
4d871ee973
"gray lists" only need to be valid when 'keepinvariant' is true
|
před 15 roky |
Roberto Ierusalimschy
|
23001d8607
nasty GC bug: upvalue must be turned white when not keeping invariant,
|
před 15 roky |
Roberto Ierusalimschy
|
aaa5d7adab
'luaC_linkupval' moved into 'lfunc.c' code + new way to control GC speed
|
před 15 roky |
Roberto Ierusalimschy
|
00114a95b2
lots of new comments + small changes in loop controls + other small
|
před 15 roky |
Roberto Ierusalimschy
|
4aaf0ef75c
"to-be-finalized" objects marked and sweeped like all other objects
|
před 15 roky |
Roberto Ierusalimschy
|
d20ff60615
new macro LUA_NUMTAGS
|
před 15 roky |
Roberto Ierusalimschy
|
a09c8d7beb
cannot sweep main thread in sweepstring phase
|
před 15 roky |
Roberto Ierusalimschy
|
e54668b696
added proper code to trace garbage collection
|
před 15 roky |
Roberto Ierusalimschy
|
a8d3aa14fd
global table now is only kept in the registry
|
před 15 roky |
Roberto Ierusalimschy
|
064e406f67
no more fenvs!
|
před 15 roky |
Roberto Ierusalimschy
|
5c87f61e6b
major collections in generational mode
|
před 15 roky |
Roberto Ierusalimschy
|
3aa9598177
'mainthread' is not inserted in the 'allgc' list anymore, but swept
|
před 15 roky |
Roberto Ierusalimschy
|
64d39ed1b6
generational mode no longer sweep old objects
|
před 15 roky |
Roberto Ierusalimschy
|
4433dbb5f5
userdata with finalizers are kept in a separated list ('udgc'), instead
|
před 15 roky |
Roberto Ierusalimschy
|
5cb128ea54
BUG: emergency collector might resize 'strt' (string table) when
|
před 15 roky |
Roberto Ierusalimschy
|
74123e9686
draft version of a generational mode for garbage collection. (Not well
|
před 15 roky |
Roberto Ierusalimschy
|
f84b575cfa
no more pseudoindex LUA_GLOBALSINDEX; global table now accessible
|
před 15 roky |
Roberto Ierusalimschy
|
0bbdddc86b
allocator function receives the tag of object being allocated in 'osize'
|
před 15 roky |
Roberto Ierusalimschy
|
8da245bfd2
better to keep GC state numbers sequential, to optimize switch in
|
před 15 roky |
Roberto Ierusalimschy
|
a2a2abcba4
new function 'luaC_runtilstate' to advance GC until a "valid" state
|
před 15 roky |
Roberto Ierusalimschy
|
3c4d970a7b
comment typos
|
před 15 roky |
Roberto Ierusalimschy
|
ce444bff33
(huge) simplification of GC management
|
před 16 roky |
Roberto Ierusalimschy
|
88eb901f81
registry and global table may be changed through the API without a
|
před 16 roky |
Roberto Ierusalimschy
|
a921d81033
avoid using 'ttype' when there is an explicit test + macro 'checkdeadkey'
|
před 16 roky |
Roberto Ierusalimschy
|
9756f56354
better control over accesses to TValue fields
|
před 16 roky |
Roberto Ierusalimschy
|
5bc91c6405
no more one environment per thread: all threads share a single global
|
před 16 roky |
Roberto Ierusalimschy
|
5938212748
information about upvalues (where they come from) kept in Proto structure,
|
před 16 roky |