Roberto Ierusalimschy
|
c510d94549
includes counts from 'sweeptolive' in cost of atomic step
|
13 years ago |
Roberto Ierusalimschy
|
ab2c3d5cde
small bug in error handling of finalizers (cannot call lua_tostring
|
13 years ago |
Roberto Ierusalimschy
|
6fcdfc6d4f
bug: object being moved to 'finobj' list might not be sweeped by
|
13 years ago |
Roberto Ierusalimschy
|
6efffb9acd
only count in 'atomic' objects marked for the first time
|
13 years ago |
Roberto Ierusalimschy
|
51e8f08e60
more efficient way to apply 'stepmul' + some changes in GC parameters
|
13 years ago |
Roberto Ierusalimschy
|
e29f3a5751
definition of 'GCSTEPSIZE' moved to header file + small changes
|
13 years ago |
Roberto Ierusalimschy
|
8e7149f496
detail ('char' should be 'const char')
|
13 years ago |
Roberto Ierusalimschy
|
086da10dac
merge of fields 'lastmajormem' (used in gen. mode) and 'estimate'
|
13 years ago |
Roberto Ierusalimschy
|
b36b4b521f
try to avoid sweeping new objects created with new white (and
|
13 years ago |
Roberto Ierusalimschy
|
398811a313
simpler macro 'luaC_condGC' + better 'step' in 'lua_gc' +
|
13 years ago |
Roberto Ierusalimschy
|
2a66b34f72
revamp of the GC pace control; more like 5.1: any X Kbytes allocated
|
13 years ago |
Roberto Ierusalimschy
|
ea980fdeef
removed 'stringmark' trick
|
13 years ago |
Roberto Ierusalimschy
|
31829ad177
test for whether collector is running moved from function to
|
13 years ago |
Roberto Ierusalimschy
|
3cadc37f47
no more 'Proto' objects on the stack. Protos are anchored on outer
|
13 years ago |
Roberto Ierusalimschy
|
a4b96ce9a3
first implementation of long strings
|
13 years ago |
Roberto Ierusalimschy
|
fb6eee2805
Lua never uses Ã'assert' (it is always 'lua_assert')
|
13 years ago |
Roberto Ierusalimschy
|
fd22ccd6d0
object tag keeps variant bits too -> no need for 'isC' field in
|
13 years ago |
Roberto Ierusalimschy
|
01747f2c24
error message: "tag method" -> "metamethod"
|
13 years ago |
Roberto Ierusalimschy
|
217b65e6d9
avoid some warnings about converting 32-bit shifts into 64-bit results
|
13 years ago |
Roberto Ierusalimschy
|
788a0ecd27
'luaC_separateudata' renamed to 'separatetobefnz' and called only
|
14 years ago |
Roberto Ierusalimschy
|
bc90cf4b83
retraverse all gray lists together to avoid traversing some weak
|
14 years ago |
Roberto Ierusalimschy
|
87912786af
dead objects are not collectable.
|
14 years ago |
Roberto Ierusalimschy
|
95ed6c1127
better(?) scheme for cleaning weak tables; all ressurected objects
|
14 years ago |
Roberto Ierusalimschy
|
45c346645c
avoid clearing ephemeron tables that have nothing to be cleaned
|
14 years ago |
Roberto Ierusalimschy
|
74b0bb3a45
macro 'checkconsistency' moved to this file, as it is used only
|
14 years ago |
Roberto Ierusalimschy
|
868ff40339
full collection does not restart collector + avoid changing GC
|
14 years ago |
Roberto Ierusalimschy
|
551b076f1c
change in the relationship between totalbytes and GCdebt - luaM_realloc_
|
14 years ago |
Roberto Ierusalimschy
|
737f119187
better control for GC running or stopped
|
14 years ago |
Roberto Ierusalimschy
|
350cc4bcb6
'micro' bug: when closing state, old objects are finalized (breaking
|
14 years ago |
Roberto Ierusalimschy
|
9b7a12c46d
finalizers (__gc) for tables
|
14 years ago |