<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/lua-github.git/testes/cstack.lua, branch v5.4.4</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: C stack overflow with coroutines</title>
<updated>2021-11-03T18:04:18+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2021-11-03T18:04:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/lua-github.git/commit/?id=74d99057a5146755e737c479850f87fd0e3b6868'/>
<id>74d99057a5146755e737c479850f87fd0e3b6868</id>
<content type='text'>
'coroutine.resume' did not increment counter of C calls when
continuing execution after a protected error (that is,
while running 'precover').
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
'coroutine.resume' did not increment counter of C calls when
continuing execution after a protected error (that is,
while running 'precover').
</pre>
</div>
</content>
</entry>
<entry>
<title>New test module 'tracegc'</title>
<updated>2021-03-01T16:54:29+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2021-03-01T16:54:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/lua-github.git/commit/?id=5276973224066e591b0f1a79c3b091d395848ac4'/>
<id>5276973224066e591b0f1a79c3b091d395848ac4</id>
<content type='text'>
New module easies the inclusion of GC tracing in individual test files.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
New module easies the inclusion of GC tracing in individual test files.
</pre>
</div>
</content>
</entry>
<entry>
<title>'coroutine.close'/'lua_resetthread' report original errors</title>
<updated>2020-12-18T14:22:42+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2020-12-18T14:22:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/lua-github.git/commit/?id=409256b7849ec5ab3296cb0ab9eba3d65955d5ea'/>
<id>409256b7849ec5ab3296cb0ab9eba3d65955d5ea</id>
<content type='text'>
Besides errors in closing methods, 'coroutine.close' and
'lua_resetthread' also consider the original error that stopped the
thread, if any.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Besides errors in closing methods, 'coroutine.close' and
'lua_resetthread' also consider the original error that stopped the
thread, if any.
</pre>
</div>
</content>
</entry>
<entry>
<title>Avoid shrinking stacks to often</title>
<updated>2020-10-12T15:29:09+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2020-10-06T16:37:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/lua-github.git/commit/?id=9ecd446141f572252a57cb33d2bba6aa00d96a55'/>
<id>9ecd446141f572252a57cb33d2bba6aa00d96a55</id>
<content type='text'>
Shrink a stack only when the final stack size can be at most 2/3 the
previous size with half of its entries empty. This commit also
improves the clarity of 'luaD_growstack'.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Shrink a stack only when the final stack size can be at most 2/3 the
previous size with half of its entries empty. This commit also
improves the clarity of 'luaD_growstack'.
</pre>
</div>
</content>
</entry>
<entry>
<title>Revision of stackless implementation</title>
<updated>2020-10-12T15:29:09+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2020-09-23T13:18:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/lua-github.git/commit/?id=287b302acb8d925178e9edb800f0a8d18c7d35f6'/>
<id>287b302acb8d925178e9edb800f0a8d18c7d35f6</id>
<content type='text'>
- more organized handling of 'nCcalls'
- comments
- deprecation of 'setcstacklimit'
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- more organized handling of 'nCcalls'
- comments
- deprecation of 'setcstacklimit'
</pre>
</div>
</content>
</entry>
<entry>
<title>Back to a stackless implementation</title>
<updated>2020-10-12T15:29:09+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2020-09-21T13:31:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/lua-github.git/commit/?id=5d8ce05b3f6fad79e37ed21c1076e47a322472c6'/>
<id>5d8ce05b3f6fad79e37ed21c1076e47a322472c6</id>
<content type='text'>
A "with stack" implementation gains too little in performance to be
worth all the noise from C-stack overflows.

This commit is almost a sketch, to test performance. There are several
pending stuff:

- review control of C-stack overflow and error messages;
- what to do with setcstacklimit;
- review comments;
- review unroll of Lua calls.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
A "with stack" implementation gains too little in performance to be
worth all the noise from C-stack overflows.

This commit is almost a sketch, to test performance. There are several
pending stuff:

- review control of C-stack overflow and error messages;
- what to do with setcstacklimit;
- review comments;
- review unroll of Lua calls.
</pre>
</div>
</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='http://git.baserock.org/cgit/delta/lua-github.git/commit/?id=e1d8770f12542d34a3e32b825c95b93f8a341ee1'/>
<id>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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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.
</pre>
</div>
</content>
</entry>
<entry>
<title>C-Stack test does not assume minimum of 400 slots</title>
<updated>2020-05-04T17:17:15+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2020-05-04T17:17:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/lua-github.git/commit/?id=9a6f47f0edfded799f7cb6fd719bb0071b326100'/>
<id>9a6f47f0edfded799f7cb6fd719bb0071b326100</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Comments (mosty typos)</title>
<updated>2019-12-30T14:45:08+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2019-12-30T14:45:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/lua-github.git/commit/?id=bd1b87c5790c0c6fe23f76aa360e879922e1e738'/>
<id>bd1b87c5790c0c6fe23f76aa360e879922e1e738</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>'setCstacklimit' renamed to 'setcstacklimit'</title>
<updated>2019-09-24T17:31:06+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2019-09-24T17:31:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/lua-github.git/commit/?id=03cde80b58ea7f112f1b7a35c037893093b59f2e'/>
<id>03cde80b58ea7f112f1b7a35c037893093b59f2e</id>
<content type='text'>
Function names in the API use only lowercase letters.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Function names in the API use only lowercase letters.
</pre>
</div>
</content>
</entry>
</feed>
