<feed xmlns='http://www.w3.org/2005/Atom'>
<title>lua/lmem.c, 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>2022-12-15T13:44:55+00:00</updated>
<entry>
<title>Small improvements in 'lmem.c'</title>
<updated>2022-12-15T13:44:55+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2022-12-15T13:44:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=35e01ed21d018e1c6428ae0351d8597e53a620b3'/>
<id>urn:sha1:35e01ed21d018e1c6428ae0351d8597e53a620b3</id>
<content type='text'>
Added some auxiliary macros + fixed a bug in compilation option
EMERGENCYGCTESTS. (It should not try to force an emergency collection
when it cannot run one.)
</content>
</entry>
<entry>
<title>New control for reentrancy of emergency collections</title>
<updated>2021-02-26T14:41:02+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2021-02-26T14:41:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=1537d6680bb66dc2484e11815bc2cd0e31ca39cc'/>
<id>urn:sha1:1537d6680bb66dc2484e11815bc2cd0e31ca39cc</id>
<content type='text'>
Instead of assuming that shrinking a block may be an emergency
collection, use an explicit field ('gcstopem') to stop emergency
collections while GC is working.
</content>
</entry>
<entry>
<title>Broadening the use of branch hints</title>
<updated>2021-02-24T14:14:44+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2021-02-24T14:14:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=59c88f846d1dcd901a4420651aedf27816618923'/>
<id>urn:sha1:59c88f846d1dcd901a4420651aedf27816618923</id>
<content type='text'>
More uses of macros 'likely'/'unlikely' (renamed to
'l_likely'/'l_unlikely'), both in range (extended to the
libraries) and in scope (extended to hooks, stack growth).
</content>
</entry>
<entry>
<title>New macro 'completestate'</title>
<updated>2021-02-05T20:51:25+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2021-02-05T20:51:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=c63e5d212bc5dec1b1c749e3f07b42cd83081826'/>
<id>urn:sha1:c63e5d212bc5dec1b1c749e3f07b42cd83081826</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Change in macro HARDMEMTESTS for testing GC</title>
<updated>2020-07-08T18:36:48+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2020-07-08T18:36:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=56ec4322817b0e9aef6084c278dcf24fda7bed1c'/>
<id>urn:sha1:56ec4322817b0e9aef6084c278dcf24fda7bed1c</id>
<content type='text'>
Macro HARDMEMTESTS broke in two: HARDMEMTESTS forces a full GC cycle
at every point where the GC can run. New macro EMERGENCYGCTESTS
forces an emergency collection at every memory allocation.
</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='https://git.lua4.win/lua/commit/?id=bd1b87c5790c0c6fe23f76aa360e879922e1e738'/>
<id>urn:sha1:bd1b87c5790c0c6fe23f76aa360e879922e1e738</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Some details in 'lmem.c' and 'lgc.c'</title>
<updated>2019-07-19T12:43:35+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2019-07-19T12:43:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=9cdf6b7082c49e6bf7daf8c7c4c649bcaacf9fad'/>
<id>urn:sha1:9cdf6b7082c49e6bf7daf8c7c4c649bcaacf9fad</id>
<content type='text'>
- Several new comments in 'lmem.c'.
- Both 'luaM_growaux_' and 'luaM_shrinkvector_' use 'luaM_saferealloc_'
  to check for errors. Moreover, the use of 'luaM_saferealloc_' makes
  'luaM_shrinkvector_' try again if shrink fails (which can happen now).
- In 'checkSizes', save old debt only when needed.
</content>
</entry>
<entry>
<title>Reviving HARDMEMTESTS</title>
<updated>2019-07-18T17:58:15+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2019-07-18T17:58:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=d36a31e6739bcd39c84f637344227af87cfd0ee5'/>
<id>urn:sha1:d36a31e6739bcd39c84f637344227af87cfd0ee5</id>
<content type='text'>
This commit brings a new implementation for HARDMEMTESTS, which forces
an emergency GC whenever possible. It also fixes some issues detected
with this option:
  - A small bug in lvm.c: a closure could be collected by an emergency
  GC while being initialized.
  - Some tests: a memory address can be immediatly reused after a GC;
  for instance, two consecutive '{}' expressions can return exactly the
  same address, if the first one is not anchored.
</content>
</entry>
<entry>
<title>Detail: bad assertion in 'luaM_free_'</title>
<updated>2018-10-23T15:58:38+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2018-10-23T15:58:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=ea1322ef5438aa38f16fa00d3ab377811bba5a76'/>
<id>urn:sha1:ea1322ef5438aa38f16fa00d3ab377811bba5a76</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Removed extra information from RCS keyword strings</title>
<updated>2018-08-23T17:26:12+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2018-08-23T17:26:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=f99509581ee73c1c2dbddb3398e87c098771d31f'/>
<id>urn:sha1:f99509581ee73c1c2dbddb3398e87c098771d31f</id>
<content type='text'>
Version numbers and dates (mostly wrong) from RCS keyword strings
removed from all source files; only the file name are kept.
</content>
</entry>
</feed>
