Roberto Ierusalimschy
|
a8d3aa14fd
global table now is only kept in the registry
|
15 年之前 |
Roberto Ierusalimschy
|
064e406f67
no more fenvs!
|
15 年之前 |
Roberto Ierusalimschy
|
5c87f61e6b
major collections in generational mode
|
15 年之前 |
Roberto Ierusalimschy
|
3aa9598177
'mainthread' is not inserted in the 'allgc' list anymore, but swept
|
15 年之前 |
Roberto Ierusalimschy
|
64d39ed1b6
generational mode no longer sweep old objects
|
15 年之前 |
Roberto Ierusalimschy
|
4433dbb5f5
userdata with finalizers are kept in a separated list ('udgc'), instead
|
15 年之前 |
Roberto Ierusalimschy
|
5cb128ea54
BUG: emergency collector might resize 'strt' (string table) when
|
15 年之前 |
Roberto Ierusalimschy
|
74123e9686
draft version of a generational mode for garbage collection. (Not well
|
15 年之前 |
Roberto Ierusalimschy
|
f84b575cfa
no more pseudoindex LUA_GLOBALSINDEX; global table now accessible
|
15 年之前 |
Roberto Ierusalimschy
|
0bbdddc86b
allocator function receives the tag of object being allocated in 'osize'
|
15 年之前 |
Roberto Ierusalimschy
|
8da245bfd2
better to keep GC state numbers sequential, to optimize switch in
|
15 年之前 |
Roberto Ierusalimschy
|
a2a2abcba4
new function 'luaC_runtilstate' to advance GC until a "valid" state
|
15 年之前 |
Roberto Ierusalimschy
|
3c4d970a7b
comment typos
|
15 年之前 |
Roberto Ierusalimschy
|
ce444bff33
(huge) simplification of GC management
|
16 年之前 |
Roberto Ierusalimschy
|
88eb901f81
registry and global table may be changed through the API without a
|
16 年之前 |
Roberto Ierusalimschy
|
a921d81033
avoid using 'ttype' when there is an explicit test + macro 'checkdeadkey'
|
16 年之前 |
Roberto Ierusalimschy
|
9756f56354
better control over accesses to TValue fields
|
16 年之前 |
Roberto Ierusalimschy
|
5bc91c6405
no more one environment per thread: all threads share a single global
|
16 年之前 |
Roberto Ierusalimschy
|
5938212748
information about upvalues (where they come from) kept in Proto structure,
|
16 年之前 |
Roberto Ierusalimschy
|
1829911d7c
some operations may shrink g->totalbytes so g->estimate must be
|
16 年之前 |
Roberto Ierusalimschy
|
55dc7fb240
bug: stack must be cleared until its end (including extra size) +
|
16 年之前 |
Roberto Ierusalimschy
|
4a67e48611
new macro 'condmovestack' instead of 'condhardstacktests'
|
16 年之前 |
Roberto Ierusalimschy
|
019ebcb85f
errors in finalizers are propagated with code LUA_ERRGCMM (ERRor in
|
16 年之前 |
Roberto Ierusalimschy
|
673c456cba
resize string hash table only when new size is smaller than current one
|
16 年之前 |
Roberto Ierusalimschy
|
e091a254df
new way to GC stacks: the entire stack must be correct all the times;
|
16 年之前 |
Roberto Ierusalimschy
|
4f88418170
'CallInfo' stack implemented as double-linked list instead of an array
|
16 年之前 |
Roberto Ierusalimschy
|
ba484b9eb1
yielding across lua_call (first version)
|
16 年之前 |
Roberto Ierusalimschy
|
d07abcc6c7
finalizers always called protected
|
16 年之前 |
Roberto Ierusalimschy
|
0c8f5fc2fd
simplification in the handling of finalizers: no more 'tmudata' list +
|
17 年之前 |
Roberto Ierusalimschy
|
c3525610fe
bug: when closing the state, 'luaC_separateudata' might mark
|
17 年之前 |