<feed xmlns='http://www.w3.org/2005/Atom'>
<title>lua/testes/gengc.lua, branch v5.4.9</title>
<subtitle>A mirror of https://github.com/lua/lua
</subtitle>
<id>https://git.lua4.win/lua/atom?h=v5.4.9</id>
<link rel='self' href='https://git.lua4.win/lua/atom?h=v5.4.9'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/'/>
<updated>2020-08-13T17:31:27+00:00</updated>
<entry>
<title>TOUCHED2 objects are not always black</title>
<updated>2020-08-13T17:31:27+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2020-08-13T17:31:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=f7ce7e5faae69fcab0126d8bfd34b685f1dcb019'/>
<id>urn:sha1:f7ce7e5faae69fcab0126d8bfd34b685f1dcb019</id>
<content type='text'>
This commit fixes a bug introduced in commit 9cf3299fa. TOUCHED2
objects are always black while the mutator runs, but they can become
temporarily gray inside a minor collection (e.g., if the object is a
weak table).
</content>
</entry>
<entry>
<title>Optimization in 'markold'</title>
<updated>2020-07-29T20:05:47+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2020-07-29T20:05:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=0dc5deca1c0182a4a3db2fcfd7bc721f27fb352b'/>
<id>urn:sha1:0dc5deca1c0182a4a3db2fcfd7bc721f27fb352b</id>
<content type='text'>
OLD1 objects can be potentially anywhere in the 'allgc' list (up
to 'reallyold'), but frequently they are all after 'old1' (natural
evolution of survivals) or do not exist at all (when all objects die
young). So, instead of 'markold' starts looking for them always
from the start of 'allgc', the collector keeps an extra pointer,
'firstold1', that points to the first OLD1 object in the 'allgc' list,
or is NULL if there are no OLD1 objects in that list.
</content>
</entry>
<entry>
<title>Fixed bug: barriers cannot be active during sweep</title>
<updated>2020-07-27T13:26:20+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2020-07-27T13:26:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=a6da1472c0c5e05ff249325f979531ad51533110'/>
<id>urn:sha1:a6da1472c0c5e05ff249325f979531ad51533110</id>
<content type='text'>
Barriers cannot be active during sweep, even in generational mode.
(Although gen. mode is not incremental, it can hit a barrier when
deleting a thread and closing its upvalues.)  The colors of objects are
being changed during sweep and, therefore, cannot be trusted.
</content>
</entry>
<entry>
<title>Added test for fix 127e7a6c894</title>
<updated>2020-07-13T16:37:01+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2020-07-13T16:37:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=0f1cd0eba99ea6d383e75b9ae488d00ad541c210'/>
<id>urn:sha1:0f1cd0eba99ea6d383e75b9ae488d00ad541c210</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Added directory to test file names in '$Id:'</title>
<updated>2018-07-25T18:31:04+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2018-07-25T18:31:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=aa4c5cf190f77ab2730af5e21cfd2b830ff329df'/>
<id>urn:sha1:aa4c5cf190f77ab2730af5e21cfd2b830ff329df</id>
<content type='text'>
From the point of view of 'git', all names are relative to the root
directory of the project. So, file names in '$Id:' also should be
relative to that directory: the proper name for test file 'all.lua'
is 'testes/all.lua'.
</content>
</entry>
<entry>
<title>Fixed bug in generational collection of userdata</title>
<updated>2018-07-13T18:43:02+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2018-07-13T18:43:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=2e297d6ab37c1bb255b6984b91dd92d9080e02c9'/>
<id>urn:sha1:2e297d6ab37c1bb255b6984b91dd92d9080e02c9</id>
<content type='text'>
During generational collection, a userdatum must become gray and
go to a gray list after being traversed (like tables), so that
'correctgraylist' can handle it to its next stage.

This commit also added minimum tests for the generational collector,
including one that would detect this bug.
</content>
</entry>
</feed>
