Roberto Ierusalimschy
|
e131eb0d9a
removed debug code
|
13 anni fa |
Roberto Ierusalimschy
|
e21b26a964
avoid 'return' "to avoid warnings"
|
13 anni fa |
Roberto Ierusalimschy
|
12ab78aca6
detail in extra trace code: total bytes is given by 'gettotalbytes',
|
14 anni fa |
Roberto Ierusalimschy
|
551b076f1c
change in the relationship between totalbytes and GCdebt - luaM_realloc_
|
14 anni fa |
Roberto Ierusalimschy
|
737f119187
better control for GC running or stopped
|
14 anni fa |
Roberto Ierusalimschy
|
237f755dca
typos in comments
|
15 anni fa |
Roberto Ierusalimschy
|
e7ce7e1850
changes in patch to monitor garbage collection
|
15 anni fa |
Roberto Ierusalimschy
|
9a9fe42deb
wrong comment
|
15 anni fa |
Roberto Ierusalimschy
|
3410dcd375
new way to control GC speed
|
15 anni fa |
Roberto Ierusalimschy
|
e54668b696
added proper code to trace garbage collection
|
15 anni fa |
Roberto Ierusalimschy
|
0bbdddc86b
allocator function receives the tag of object being allocated in 'osize'
|
15 anni fa |
Roberto Ierusalimschy
|
bd869c7b31
details
|
19 anni fa |
Roberto Ierusalimschy
|
d5a23dde90
little better error messages for internal arrays overflows
|
19 anni fa |
Roberto Ierusalimschy
|
3ca9af51a4
emergency garbage collector (core forces a GC when allocation fails)
|
19 anni fa |
Roberto Ierusalimschy
|
0160591998
removal of dead code
|
19 anni fa |
Roberto Ierusalimschy
|
d55bb795fa
details
|
20 anni fa |
Roberto Ierusalimschy
|
8e346d875a
auxiliar patch to monitor garbage collection
|
20 anni fa |
Roberto Ierusalimschy
|
97e2dab1fb
better control of overflows in size computations
|
20 anni fa |
Roberto Ierusalimschy
|
6f1ea817f5
better control over memory-size overflows
|
21 anni fa |
Roberto Ierusalimschy
|
0b06241483
better control for GC cycles
|
21 anni fa |
Roberto Ierusalimschy
|
b4cd38ba6c
new scheme for configuration through `luaconf.h'
|
21 anni fa |
Roberto Ierusalimschy
|
da61624756
avoid overflow when doubling size
|
21 anni fa |
Roberto Ierusalimschy
|
b97fb932ec
Lua kernel does not use malloc/free functions.
|
22 anni fa |
Roberto Ierusalimschy
|
27c6b4d422
each .c file defines its own name
|
22 anni fa |
Roberto Ierusalimschy
|
d404f0c276
global_State must be deallocated (and so allocated) with NULL also
|
23 anni fa |
Roberto Ierusalimschy
|
f36038e42a
assertion must be always valid (not only in debug mode)
|
23 anni fa |
Roberto Ierusalimschy
|
02afc892d5
new ANSI C does not assure that realloc(p,0) == free(p)
|
23 anni fa |
Roberto Ierusalimschy
|
1dbe708aa8
new protocol for error handling
|
23 anni fa |
Roberto Ierusalimschy
|
6b8cdc9cdd
Lua now uses only `realloc' for all its memory management
|
23 anni fa |
Roberto Ierusalimschy
|
b7a0503c1d
new format for error messages
|
23 anni fa |