Roberto Ierusalimschy
|
0df6635711
"fixed" objects kept in a separated list (instead of being kept in
|
12 роки тому |
Roberto Ierusalimschy
|
ae800656c9
change in string table: string table is now independent of GC lists; all
|
12 роки тому |
Roberto Ierusalimschy
|
8f6b80aa1d
GC bits SEPARATED and FINALIZEDBIT mixed in FINALIZEDBIT (with simpler
|
12 роки тому |
Roberto Ierusalimschy
|
9eff921f8f
"barrier" for link prototype->cache changed to be consistent with
|
12 роки тому |
Roberto Ierusalimschy
|
439d74e29f
added 'local' bit (true => object is only refered by local variables)
|
12 роки тому |
Roberto Ierusalimschy
|
3679d33b02
barrier conditions rewritten to test first 'isblack' and then 'iswhite'
|
12 роки тому |
Roberto Ierusalimschy
|
78b941039d
change to allow collector to stop when it goes to the atomic phase
|
12 роки тому |
Roberto Ierusalimschy
|
623e388bb4
double-linked list of all upvalues elliminated and changed to a
|
12 роки тому |
Roberto Ierusalimschy
|
677d90165f
no more generational collection !!!
|
12 роки тому |
Roberto Ierusalimschy
|
c37b7b3cca
bug: garbage collector can trigger too many times in recursive loops,
|
12 роки тому |
Roberto Ierusalimschy
|
75250a237c
typos in comments
|
12 роки тому |
Roberto Ierusalimschy
|
437a49be5e
cast to avoid warnings
|
12 роки тому |
Roberto Ierusalimschy
|
a799ed5af9
more precise control for GC pause (based on threshold)
|
13 роки тому |
Roberto Ierusalimschy
|
fdae4b9453
removed commented-out line (for debugging)
|
13 роки тому |
Roberto Ierusalimschy
|
ae1d318822
small bug: generational mode is always in 'propagate' mode only
|
13 роки тому |
Roberto Ierusalimschy
|
e4f609d0ee
collector in generational mode must be in 'propagate' state when
|
13 роки тому |
Roberto Ierusalimschy
|
4fc15bbfb7
major collections in generational mode are triggered by comparison with
|
13 роки тому |
Roberto Ierusalimschy
|
c510d94549
includes counts from 'sweeptolive' in cost of atomic step
|
13 роки тому |
Roberto Ierusalimschy
|
ab2c3d5cde
small bug in error handling of finalizers (cannot call lua_tostring
|
13 роки тому |
Roberto Ierusalimschy
|
6fcdfc6d4f
bug: object being moved to 'finobj' list might not be sweeped by
|
13 роки тому |
Roberto Ierusalimschy
|
6efffb9acd
only count in 'atomic' objects marked for the first time
|
13 роки тому |
Roberto Ierusalimschy
|
51e8f08e60
more efficient way to apply 'stepmul' + some changes in GC parameters
|
13 роки тому |
Roberto Ierusalimschy
|
e29f3a5751
definition of 'GCSTEPSIZE' moved to header file + small changes
|
13 роки тому |
Roberto Ierusalimschy
|
8e7149f496
detail ('char' should be 'const char')
|
13 роки тому |
Roberto Ierusalimschy
|
086da10dac
merge of fields 'lastmajormem' (used in gen. mode) and 'estimate'
|
13 роки тому |
Roberto Ierusalimschy
|
b36b4b521f
try to avoid sweeping new objects created with new white (and
|
13 роки тому |
Roberto Ierusalimschy
|
398811a313
simpler macro 'luaC_condGC' + better 'step' in 'lua_gc' +
|
13 роки тому |
Roberto Ierusalimschy
|
2a66b34f72
revamp of the GC pace control; more like 5.1: any X Kbytes allocated
|
13 роки тому |
Roberto Ierusalimschy
|
ea980fdeef
removed 'stringmark' trick
|
13 роки тому |
Roberto Ierusalimschy
|
31829ad177
test for whether collector is running moved from function to
|
13 роки тому |