Roberto Ierusalimschy
|
54eb35a8aa
more fields moved out of 'CallInfo'
|
před 7 roky |
Roberto Ierusalimschy
|
de9128d09d
do not mess up the debt when the collector is not running
|
před 7 roky |
Roberto Ierusalimschy
|
1d8920dd7f
some cleaning in GC parameters
|
před 8 roky |
Roberto Ierusalimschy
|
029d269f4d
bug: dead keys with nil values can stay in weak tables
|
před 8 roky |
Roberto Ierusalimschy
|
f96497397a
new type 'StackValue' for stack elements
|
před 8 roky |
Roberto Ierusalimschy
|
73ec04fcf3
no more 'DEADKEY'. Table traversals do not need to consider dead keys;
|
před 8 roky |
Roberto Ierusalimschy
|
b6f87491af
in hash nodes, keys are stored in separate pieces to avoid wasting
|
před 8 roky |
Roberto Ierusalimschy
|
4bc33d64de
avoid overflows in computation of step size
|
před 8 roky |
Roberto Ierusalimschy
|
72d82a296c
revamping the incremental collector
|
před 8 roky |
Roberto Ierusalimschy
|
2376eb6347
barrier for prototype's cache (with new gray list 'protogray' to keep
|
před 8 roky |
Roberto Ierusalimschy
|
8634b2a011
added 'cachemiss' field to prototype to avoid wasting time checking
|
před 8 roky |
Roberto Ierusalimschy
|
f399e6705f
ensures that "collectgarbage'step'" in generational mode does a
|
před 8 roky |
Roberto Ierusalimschy
|
69371c4b84
'KGC_NORMAL' -> 'KGC_INC' + emergency GC signalled by flag (instead
|
před 8 roky |
Roberto Ierusalimschy
|
c354211744
small bug in generational control
|
před 8 roky |
Roberto Ierusalimschy
|
c7bdc0e0e8
first version of control for the generational collector
|
před 8 roky |
Roberto Ierusalimschy
|
16001acb15
small corrections + removal of debugging functions 'count' and
|
před 8 roky |
Roberto Ierusalimschy
|
0c8a7e071b
'mainthread' lives in 'allgc' list, like everybody else
|
před 8 roky |
Roberto Ierusalimschy
|
a3d36fe283
Upvalues collected like everything else (with mark-sweep) instead
|
před 8 roky |
Roberto Ierusalimschy
|
9569ad6b0d
Comments for generational collector
|
před 8 roky |
Roberto Ierusalimschy
|
2331e1beec
small changes in 'luaC_upvalbarrier'
|
před 8 roky |
Roberto Ierusalimschy
|
e4287da3a6
generational collector (still not complete)
|
před 8 roky |
Roberto Ierusalimschy
|
f5f3df3bd1
generational collection: new attempt (still incomplete)
|
před 8 roky |
Roberto Ierusalimschy
|
2a235312f0
detail (removing spaces at end of lines)
|
před 8 roky |
Roberto Ierusalimschy
|
7b1fba69b7
using 'lastfree == NULL' to signal that table is using the dummy
|
před 8 roky |
Roberto Ierusalimschy
|
138d00176c
new flag in 'CallInfo.callstatus' to tell whether function is running
|
před 9 roky |
Roberto Ierusalimschy
|
8d4feb504f
do not try to ensure that 'sweepgc' points to a live object
|
před 9 roky |
Roberto Ierusalimschy
|
03412af06e
detail (removed fixed argument to function 'callallpendingfinalizers')
|
před 9 roky |
Roberto Ierusalimschy
|
7485512384
added comment and assert about dead keys
|
před 9 roky |
Roberto Ierusalimschy
|
ff1289a361
in 'luaD_call', use two functions instead of one with fixed boolean
|
před 9 roky |
Roberto Ierusalimschy
|
cd73f3ccc5
now that we have a counter for CallInfos, use it for a more
|
před 9 roky |