<feed xmlns='http://www.w3.org/2005/Atom'>
<title>lua/testes/gc.lua, branch v5.5.1</title>
<subtitle>A mirror of https://github.com/lua/lua
</subtitle>
<id>https://git.lua4.win/lua/atom?h=v5.5.1</id>
<link rel='self' href='https://git.lua4.win/lua/atom?h=v5.5.1'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/'/>
<updated>2026-01-11T18:36:03+00:00</updated>
<entry>
<title>More effort in avoiding errors in finalizers</title>
<updated>2026-01-11T18:36:03+00:00</updated>
<author>
<name>Roberto I</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2026-01-11T18:36:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=2a7cf4f319fc276f4554a8f6364e6b1ba4eb2ded'/>
<id>urn:sha1:2a7cf4f319fc276f4554a8f6364e6b1ba4eb2ded</id>
<content type='text'>
Before calling a finalizer, Lua not only checks stack limits, but
actually ensures that a minimum number of slots are already allocated
for the call. (If it cannot ensure that, it postpones the finalizer.)
That avoids finalizers not running due to memory errors that the
programmer cannot control.
</content>
</entry>
<entry>
<title>New metatable in an all-weak table can fool the GC</title>
<updated>2025-06-16T19:29:32+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2025-06-16T19:29:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=9386e49a3173b68e8b5a7ba882c4c2faf557b61e'/>
<id>urn:sha1:9386e49a3173b68e8b5a7ba882c4c2faf557b61e</id>
<content type='text'>
All-weak tables are not being revisited after being visited during
propagation; if it gets a new metatable after that, the new metatable
may not be marked.
</content>
</entry>
<entry>
<title>Simpler code for 'traversetable'</title>
<updated>2025-06-16T18:50:12+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2025-06-16T18:50:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=8cd7ae7da06f54b97f95d6994d6bf47086e4e7eb'/>
<id>urn:sha1:8cd7ae7da06f54b97f95d6994d6bf47086e4e7eb</id>
<content type='text'>
Check the mode in a separate function (getmode), instead of using
comma expressions inside the 'if' condition.
</content>
</entry>
<entry>
<title>Details (typos in comments)</title>
<updated>2025-04-23T14:36:09+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2025-04-23T14:36:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=9b014d4bcd4ebadb523f1c1a1d38148d8526e5ed'/>
<id>urn:sha1:9b014d4bcd4ebadb523f1c1a1d38148d8526e5ed</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Missing GC barrier in 'luaV_finishset'</title>
<updated>2025-03-14T15:37:19+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2025-03-14T15:37:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=c2dc6e8e947ed0c7b18d452592f722f56ee1f96a'/>
<id>urn:sha1:c2dc6e8e947ed0c7b18d452592f722f56ee1f96a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Removed copyright notice from 'testes/all.lua'</title>
<updated>2025-03-12T17:00:58+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2025-03-12T17:00:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=ab66652b3270b95222dea134b5e47bb3afc434cc'/>
<id>urn:sha1:ab66652b3270b95222dea134b5e47bb3afc434cc</id>
<content type='text'>
All test files refer to the main copyright notice in 'lua.h'.
</content>
</entry>
<entry>
<title>Better support in 'ltests' for tracing the GC</title>
<updated>2024-10-21T18:18:20+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2024-10-21T18:18:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=258355734d3aceb34eb6288ece37d9bbd7f2bc6d'/>
<id>urn:sha1:258355734d3aceb34eb6288ece37d9bbd7f2bc6d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>GC test was not restarting collector after pause</title>
<updated>2024-06-18T20:14:23+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2024-06-18T20:14:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=97ef8e7bd40340d47a9789beb06f0128d7438d0a'/>
<id>urn:sha1:97ef8e7bd40340d47a9789beb06f0128d7438d0a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>New mechanism to query GC parameters</title>
<updated>2024-01-16T20:02:55+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2024-01-16T20:02:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=4a8e48086433ad12f2991c07f3064278714fd0f1'/>
<id>urn:sha1:4a8e48086433ad12f2991c07f3064278714fd0f1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Several tweaks in the garbage collector</title>
<updated>2023-12-27T15:09:11+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2023-12-27T15:09:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=12b6f610b0f1b4157c04f0db264f1f1d0634709b'/>
<id>urn:sha1:12b6f610b0f1b4157c04f0db264f1f1d0634709b</id>
<content type='text'>
- back with step size in collectgarbage("step")
- adjustments in defaults for some GC parameters
- adjustments in 'luaO_codeparam'
</content>
</entry>
</feed>
