<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/lua-github.git, branch v5.4.0-patch</title>
<subtitle>github.com: lua/lua.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/lua-github.git/'/>
<entry>
<title>Bug fix: Errors in finalizers need a valid 'pc'</title>
<updated>2020-07-13T19:35:32+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2020-07-13T19:35:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/lua-github.git/commit/?id=e37b96db04b373f79661357e18a061186ceb8e5e'/>
<id>e37b96db04b373f79661357e18a061186ceb8e5e</id>
<content type='text'>
Errors in finalizers need a valid 'pc' to produce an error message,
even if the error is not propagated. Therefore, calls to the GC (which
may call finalizers) inside luaV_execute must save the 'pc'.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Errors in finalizers need a valid 'pc' to produce an error message,
even if the error is not propagated. Therefore, calls to the GC (which
may call finalizers) inside luaV_execute must save the 'pc'.
</pre>
</div>
</content>
</entry>
<entry>
<title>Bug fix: GC after resizing stack can shrink it again</title>
<updated>2020-07-13T19:26:02+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2020-07-13T19:26:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/lua-github.git/commit/?id=b202669d761660f7d8131bef507e5c48df1ffba7'/>
<id>b202669d761660f7d8131bef507e5c48df1ffba7</id>
<content type='text'>
Macro 'checkstackGC' was doing a GC step after resizing the stack;
the GC could shrink the stack and undo the resize.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Macro 'checkstackGC' was doing a GC step after resizing the stack;
the GC could shrink the stack and undo the resize.
</pre>
</div>
</content>
</entry>
<entry>
<title>Bug fix: GC step can destroy a preallocated CallInfo</title>
<updated>2020-07-13T19:10:31+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2020-07-13T19:10:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/lua-github.git/commit/?id=1442fd57836851df5b4d67c30d3be77021768a52'/>
<id>1442fd57836851df5b4d67c30d3be77021768a52</id>
<content type='text'>
Macro 'checkstackp' also does a GC step, which could remove the
preallocated CallInfo when calling a function.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Macro 'checkstackp' also does a GC step, which could remove the
preallocated CallInfo when calling a function.
</pre>
</div>
</content>
</entry>
<entry>
<title>Bug fix: emergency collection while loading upvalues</title>
<updated>2020-07-13T18:38:55+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2020-07-13T18:38:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/lua-github.git/commit/?id=e398e03aa90546925416f41508dba9709151a1c2'/>
<id>e398e03aa90546925416f41508dba9709151a1c2</id>
<content type='text'>
In 'lundump.c', when loading the upvalues of a function, there can be
a read error if the chunk is truncated. In that case, the creation
of the error message can trigger an emergency collection while the
prototype is still anchored. So, the prototype must be GC consistent
before loading the upvales, which implies that it the 'name' fields
must be filled with NULL before the reading.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In 'lundump.c', when loading the upvalues of a function, there can be
a read error if the chunk is truncated. In that case, the creation
of the error message can trigger an emergency collection while the
prototype is still anchored. So, the prototype must be GC consistent
before loading the upvales, which implies that it the 'name' fields
must be filled with NULL before the reading.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixed bug: Computation of stack limit</title>
<updated>2020-07-13T16:51:16+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2020-07-13T16:51:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/lua-github.git/commit/?id=454424690dbfc75bcca4598faedd7971ee984acc'/>
<id>454424690dbfc75bcca4598faedd7971ee984acc</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Bug fix: Old finalized object may not be visited by GC</title>
<updated>2020-07-13T13:58:44+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2020-07-13T13:58:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/lua-github.git/commit/?id=3b2444f7eeacee3f236ea979e546fc61eff33483'/>
<id>3b2444f7eeacee3f236ea979e546fc61eff33483</id>
<content type='text'>
When an object aged OLD1 is finalized, it is moved from the list
'finobj' to the *beginning* of the list 'allgc'. So, this part of the
list (and not only the survival list) must be visited by 'markold'.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When an object aged OLD1 is finalized, it is moved from the list
'finobj' to the *beginning* of the list 'allgc'. So, this part of the
list (and not only the survival list) must be visited by 'markold'.
</pre>
</div>
</content>
</entry>
<entry>
<title>Added .gitignore to the repository</title>
<updated>2020-07-13T13:54:28+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2020-07-13T13:54:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/lua-github.git/commit/?id=3e1dc3bc67f1cb7bd83f687e309b33d4dacf6821'/>
<id>3e1dc3bc67f1cb7bd83f687e309b33d4dacf6821</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Details</title>
<updated>2020-06-18T14:07:27+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2020-06-18T14:07:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/lua-github.git/commit/?id=c33b1728aeb7dfeec4013562660e07d32697aa6b'/>
<id>c33b1728aeb7dfeec4013562660e07d32697aa6b</id>
<content type='text'>
Added as incompatibility, in the manual, the extra return of 'io.lines'.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Added as incompatibility, in the manual, the extra return of 'io.lines'.
</pre>
</div>
</content>
</entry>
<entry>
<title>Detail in 'lua_resetthread'</title>
<updated>2020-06-17T13:36:42+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2020-06-17T13:36:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/lua-github.git/commit/?id=a304199836ef37af6912a1da6f9b6cad33466a84'/>
<id>a304199836ef37af6912a1da6f9b6cad33466a84</id>
<content type='text'>
'lua_resetthread' should reset the CallInfo list before calling
'luaF_close'. luaF_close can call functions, and those functions
should not run with dead functions still in the CallInfo list.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
'lua_resetthread' should reset the CallInfo list before calling
'luaF_close'. luaF_close can call functions, and those functions
should not run with dead functions still in the CallInfo list.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixed missing GC barriers in compiler and undump</title>
<updated>2020-06-16T12:54:20+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2020-06-16T12:54:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/lua-github.git/commit/?id=6d7cd31feec58011a593cf732274a33dcc1bcb53'/>
<id>6d7cd31feec58011a593cf732274a33dcc1bcb53</id>
<content type='text'>
While building a new prototype, the GC needs barriers for every object
(strings and nested prototypes) that is attached to the new prototype.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
While building a new prototype, the GC needs barriers for every object
(strings and nested prototypes) that is attached to the new prototype.
</pre>
</div>
</content>
</entry>
</feed>
