<feed xmlns='http://www.w3.org/2005/Atom'>
<title>lua/testes, branch v5.4.1</title>
<subtitle>A mirror of https://github.com/lua/lua
</subtitle>
<id>https://git.lua4.win/lua/atom?h=v5.4.1</id>
<link rel='self' href='https://git.lua4.win/lua/atom?h=v5.4.1'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/'/>
<updated>2020-08-18T17:42:11+00:00</updated>
<entry>
<title>Fixed bug of long strings in binary chunks</title>
<updated>2020-08-18T17:42:11+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2020-08-18T17:42:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=6bc0f13505bf5d4f613d725fe008c79e72f83ddf'/>
<id>urn:sha1:6bc0f13505bf5d4f613d725fe008c79e72f83ddf</id>
<content type='text'>
When "undumping" a long string, the function 'loadVector' can call the
reader function, which can run the garbage collector, which can collect
the string being read. So, the string must be anchored during the call
to 'loadVector'.
</content>
</entry>
<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>Better tests for gray lists</title>
<updated>2020-08-07T17:45:20+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2020-08-07T17:45:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=f13dc59416afa8fc93bb3d784d1a73e49e1b5b09'/>
<id>urn:sha1:f13dc59416afa8fc93bb3d784d1a73e49e1b5b09</id>
<content type='text'>
Test uses an extra bit in 'marked' to mark all elements in gray lists
and then check against elements colored gray.
</content>
</entry>
<entry>
<title>Free bit 7 of GC 'marked' field</title>
<updated>2020-08-07T14:21:44+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2020-08-07T14:21:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=7c3cb71fa48fbe84d9d9c664eb646446fb80898b'/>
<id>urn:sha1:7c3cb71fa48fbe84d9d9c664eb646446fb80898b</id>
<content type='text'>
Tables were using this bit to indicate their array sizes were real
('isrealasize'), but this bit can be useful for tests. Instead, they
can use bit 7 of their 'flag' field for that purpose. (There are only
six fast-access metamethods.) This 'flag' field only exists in tables,
so this use does not affect other types.
</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: line hooks in stripped functions</title>
<updated>2020-07-27T16:23:05+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2020-07-27T16:23:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=ae5b5ba529753c7a653901ffc29b5ea24c3fdf3a'/>
<id>urn:sha1:ae5b5ba529753c7a653901ffc29b5ea24c3fdf3a</id>
<content type='text'>
Line-hook handling was accessing debug info. without checking whether
it was present.
</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>Fixed bug: invalid mode can crash 'io.popen'</title>
<updated>2020-07-15T19:01:03+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2020-07-15T19:01:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=1ecfbfa1a1debd2258decdf7c1954ac6f9761699'/>
<id>urn:sha1:1ecfbfa1a1debd2258decdf7c1954ac6f9761699</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fixed bug: wrong stack limit when entering a coroutine</title>
<updated>2020-07-13T16:39:02+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2020-07-13T16:39:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=e1d8770f12542d34a3e32b825c95b93f8a341ee1'/>
<id>urn:sha1:e1d8770f12542d34a3e32b825c95b93f8a341ee1</id>
<content type='text'>
When entering a coroutine, the computation of nCcalls added 'from-&gt;nci'
to correct for preallocated CallInfos, but 'nci' includes also the
Callinfos already used.
</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>
</feed>
