Roberto Ierusalimschy
|
cf7eff45f3
keep control of stack top in Lua functions concentrated in 'luaV_execute'
|
7 years ago |
Roberto Ierusalimschy
|
1d5b885437
when running Lua code, there is no need to keep 'L->top' "correct";
|
7 years ago |
Roberto Ierusalimschy
|
e663a24ab0
more freedom in handling memory-allocation errors (not all allocations
|
7 years ago |
Roberto Ierusalimschy
|
421e459684
'luaS_resize' can raise memory errors
|
7 years ago |
Roberto Ierusalimschy
|
ac78b914b6
warnings from Visual Studio /W3
|
7 years ago |
Roberto Ierusalimschy
|
599f1742c6
detail (typo in comments)
|
7 years ago |
Roberto Ierusalimschy
|
ad0704e40c
back to 'CallInfo' (no gains with its removal)
|
7 years ago |
Roberto Ierusalimschy
|
54eb35a8aa
more fields moved out of 'CallInfo'
|
7 years ago |
Roberto Ierusalimschy
|
de9128d09d
do not mess up the debt when the collector is not running
|
7 years ago |
Roberto Ierusalimschy
|
1d8920dd7f
some cleaning in GC parameters
|
8 years ago |
Roberto Ierusalimschy
|
029d269f4d
bug: dead keys with nil values can stay in weak tables
|
8 years ago |
Roberto Ierusalimschy
|
f96497397a
new type 'StackValue' for stack elements
|
8 years ago |
Roberto Ierusalimschy
|
73ec04fcf3
no more 'DEADKEY'. Table traversals do not need to consider dead keys;
|
8 years ago |
Roberto Ierusalimschy
|
b6f87491af
in hash nodes, keys are stored in separate pieces to avoid wasting
|
8 years ago |
Roberto Ierusalimschy
|
4bc33d64de
avoid overflows in computation of step size
|
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
|
8634b2a011
added 'cachemiss' field to prototype to avoid wasting time checking
|
8 years ago |
Roberto Ierusalimschy
|
f399e6705f
ensures that "collectgarbage'step'" in generational mode does a
|
8 years ago |
Roberto Ierusalimschy
|
69371c4b84
'KGC_NORMAL' -> 'KGC_INC' + emergency GC signalled by flag (instead
|
8 years ago |
Roberto Ierusalimschy
|
c354211744
small bug in generational control
|
8 years ago |
Roberto Ierusalimschy
|
c7bdc0e0e8
first version of control for the generational collector
|
8 years ago |
Roberto Ierusalimschy
|
16001acb15
small corrections + removal of debugging functions 'count' and
|
8 years ago |
Roberto Ierusalimschy
|
0c8a7e071b
'mainthread' lives in 'allgc' list, like everybody else
|
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
|
2a235312f0
detail (removing spaces at end of lines)
|
8 years ago |