Roberto Ierusalimschy
|
c4ea0c3b29
detail (cleaning trailing spaces)
|
преди 14 години |
Roberto Ierusalimschy
|
868ff40339
full collection does not restart collector + avoid changing GC
|
преди 14 години |
Roberto Ierusalimschy
|
737f119187
better control for GC running or stopped
|
преди 14 години |
Roberto Ierusalimschy
|
a40768e5ea
new macro 'luaC_condGC' to allow extra code to be run in case
|
преди 14 години |
Roberto Ierusalimschy
|
35931bbed4
comments
|
преди 14 години |
Roberto Ierusalimschy
|
9b7a12c46d
finalizers (__gc) for tables
|
преди 14 години |
Roberto Ierusalimschy
|
a71c5f6f53
typo in comments
|
преди 15 години |
Roberto Ierusalimschy
|
fabe4ec487
better barrier for prototypes
|
преди 15 години |
Roberto Ierusalimschy
|
575074fd85
Lua closures are cached for reuse
|
преди 15 години |
Roberto Ierusalimschy
|
1c1a98e872
corrected some places where an old object could end up in front
|
преди 15 години |
Roberto Ierusalimschy
|
c006f085d9
new macro 'resetoldbit'
|
преди 15 години |
Roberto Ierusalimschy
|
32c1764b5d
slightly better definition for 'isgray'
|
преди 15 години |
Roberto Ierusalimschy
|
b373a40133
new macro 'isgenerational' + new macro 'isold' + better deffinition
|
преди 15 години |
Roberto Ierusalimschy
|
a4f20e3c8b
comments
|
преди 15 години |
Roberto Ierusalimschy
|
d77898597e
new function 'luaC_changemode'
|
преди 15 години |
Roberto Ierusalimschy
|
0c27de2e7b
no more 'finalize' phase in GC; finalizers are called along the
|
преди 15 години |
Roberto Ierusalimschy
|
85555646e3
invariant must be kept in atomic 'phase' too
|
преди 15 години |
Roberto Ierusalimschy
|
b9e1dec2cb
added comment explaining a bit about the invariants of the collector
|
преди 15 години |
Roberto Ierusalimschy
|
23001d8607
nasty GC bug: upvalue must be turned white when not keeping invariant,
|
преди 15 години |
Roberto Ierusalimschy
|
aaa5d7adab
'luaC_linkupval' moved into 'lfunc.c' code + new way to control GC speed
|
преди 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
|
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
|
преди 15 години |
Roberto Ierusalimschy
|
b51d76ce8d
when doing hard memory tests, perform a full GC at every possible step
|
преди 15 години |
Roberto Ierusalimschy
|
4a67e48611
new macro 'condmovestack' instead of 'condhardstacktests'
|
преди 16 години |