Roberto Ierusalimschy
|
e29f3a5751
definition of 'GCSTEPSIZE' moved to header file + small changes
|
13 years ago |
Roberto Ierusalimschy
|
398811a313
simpler macro 'luaC_condGC' + better 'step' in 'lua_gc' +
|
13 years ago |
Roberto Ierusalimschy
|
31829ad177
test for whether collector is running moved from function to
|
13 years ago |
Roberto Ierusalimschy
|
0010ec68b1
documentation comment (small correction about strings being
|
13 years ago |
Roberto Ierusalimschy
|
788a0ecd27
'luaC_separateudata' renamed to 'separatetobefnz' and called only
|
14 years ago |
Roberto Ierusalimschy
|
f3b0eb3ecf
lint (unused macros)
|
14 years ago |
Roberto Ierusalimschy
|
c4ea0c3b29
detail (cleaning trailing spaces)
|
14 years ago |
Roberto Ierusalimschy
|
868ff40339
full collection does not restart collector + avoid changing GC
|
14 years ago |
Roberto Ierusalimschy
|
737f119187
better control for GC running or stopped
|
14 years ago |
Roberto Ierusalimschy
|
a40768e5ea
new macro 'luaC_condGC' to allow extra code to be run in case
|
14 years ago |
Roberto Ierusalimschy
|
35931bbed4
comments
|
14 years ago |
Roberto Ierusalimschy
|
9b7a12c46d
finalizers (__gc) for tables
|
14 years ago |
Roberto Ierusalimschy
|
a71c5f6f53
typo in comments
|
15 years ago |
Roberto Ierusalimschy
|
fabe4ec487
better barrier for prototypes
|
15 years ago |
Roberto Ierusalimschy
|
575074fd85
Lua closures are cached for reuse
|
15 years ago |
Roberto Ierusalimschy
|
1c1a98e872
corrected some places where an old object could end up in front
|
15 years ago |
Roberto Ierusalimschy
|
c006f085d9
new macro 'resetoldbit'
|
15 years ago |
Roberto Ierusalimschy
|
32c1764b5d
slightly better definition for 'isgray'
|
15 years ago |
Roberto Ierusalimschy
|
b373a40133
new macro 'isgenerational' + new macro 'isold' + better deffinition
|
15 years ago |
Roberto Ierusalimschy
|
a4f20e3c8b
comments
|
15 years ago |
Roberto Ierusalimschy
|
d77898597e
new function 'luaC_changemode'
|
15 years ago |
Roberto Ierusalimschy
|
0c27de2e7b
no more 'finalize' phase in GC; finalizers are called along the
|
15 years ago |
Roberto Ierusalimschy
|
85555646e3
invariant must be kept in atomic 'phase' too
|
15 years ago |
Roberto Ierusalimschy
|
b9e1dec2cb
added comment explaining a bit about the invariants of the collector
|
15 years ago |
Roberto Ierusalimschy
|
23001d8607
nasty GC bug: upvalue must be turned white when not keeping invariant,
|
15 years ago |
Roberto Ierusalimschy
|
aaa5d7adab
'luaC_linkupval' moved into 'lfunc.c' code + new way to control GC speed
|
15 years ago |
Roberto Ierusalimschy
|
3aa9598177
'mainthread' is not inserted in the 'allgc' list anymore, but swept
|
15 years ago |
Roberto Ierusalimschy
|
64d39ed1b6
generational mode no longer sweep old objects
|
15 years ago |
Roberto Ierusalimschy
|
4433dbb5f5
userdata with finalizers are kept in a separated list ('udgc'), instead
|
15 years ago |
Roberto Ierusalimschy
|
0bbdddc86b
allocator function receives the tag of object being allocated in 'osize'
|
15 years ago |