<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Objects/obmalloc.c, branch 2.7</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Objects/obmalloc.c?h=2.7</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Objects/obmalloc.c?h=2.7'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2019-05-15T14:31:10Z</updated>
<entry>
<title>bpo-27987: pymalloc: align by 16bytes on 64bit platform (GH-12850) (GH-13319)</title>
<updated>2019-05-15T14:31:10Z</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@redhat.com</email>
</author>
<published>2019-05-15T14:31:10Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=f24a9f3bf42709fb97b954b6dd6f90853967712e'/>
<id>urn:sha1:f24a9f3bf42709fb97b954b6dd6f90853967712e</id>
<content type='text'>
(cherry picked from commit f0be4bbb9b3cee876249c23f2ae6f38f43fa7495)</content>
</entry>
<entry>
<title>bpo-35368: Make PyMem_Malloc() thread-safe in debug mode (GH-10828)</title>
<updated>2018-12-03T11:29:29Z</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@redhat.com</email>
</author>
<published>2018-12-03T11:29:29Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=c275be54411d425c90e7c679ddb5321ba458f61d'/>
<id>urn:sha1:c275be54411d425c90e7c679ddb5321ba458f61d</id>
<content type='text'>
When Python is compiled in debug mode, PyMem_Malloc() uses debug
hooks, but it also uses pymalloc allocator instead of malloc().
Problem: pymalloc is not thread-safe, whereas PyMem_Malloc() is
thread-safe in release mode (it's a thin wrapper to malloc() in this
case).

Modify the debug hook to use malloc() for PyMem_Malloc().</content>
</entry>
<entry>
<title>bpo-31626: Fix _PyObject_DebugReallocApi() (#4310)</title>
<updated>2017-11-24T01:13:26Z</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2017-11-24T01:13:26Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=ed4743a2f2bb8d88f7f1aa9307794be9a44f1e0f'/>
<id>urn:sha1:ed4743a2f2bb8d88f7f1aa9307794be9a44f1e0f</id>
<content type='text'>
_PyObject_DebugReallocApi() now calls Py_FatalError() if realloc()
fails to shrink a memory block.

Call Py_FatalError() because _PyObject_DebugReallocApi() erased freed
bytes *before* realloc(), expecting that realloc() *cannot* fail to
shrink a memory block.</content>
</entry>
<entry>
<title>bpo-20064: Document PyObject_Malloc() (#4204)</title>
<updated>2017-10-31T17:08:28Z</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2017-10-31T17:08:28Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=52ba7b447f41dad2754ddbc50ed97413b557bbe1'/>
<id>urn:sha1:52ba7b447f41dad2754ddbc50ed97413b557bbe1</id>
<content type='text'>
Document the following functions:

* PyObject_Malloc()
* PyObject_Realloc()
* PyObject_Free()

Document also the pymalloc allocator.</content>
</entry>
<entry>
<title>make comment not lie about the size of SMALL_REQUEST_THRESHOLD</title>
<updated>2015-07-30T05:18:16Z</updated>
<author>
<name>Benjamin Peterson</name>
<email>benjamin@python.org</email>
</author>
<published>2015-07-30T05:18:16Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=1edd2f6241df29eb2ae67c3ad9fa3872670d47e9'/>
<id>urn:sha1:1edd2f6241df29eb2ae67c3ad9fa3872670d47e9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>allow 2.7 to be built with asan (closes #24061)</title>
<updated>2015-04-27T00:33:38Z</updated>
<author>
<name>Benjamin Peterson</name>
<email>benjamin@python.org</email>
</author>
<published>2015-04-27T00:33:38Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=b529c249214096a6e08a50399692d124c26dba29'/>
<id>urn:sha1:b529c249214096a6e08a50399692d124c26dba29</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Issue #21810: Backport mmap-based arena allocation failure check.</title>
<updated>2014-06-19T21:42:51Z</updated>
<author>
<name>Charles-François Natali</name>
<email>cf.natali@gmail.com</email>
</author>
<published>2014-06-19T21:42:51Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=cee4f034385902659ec1ade666e17537eb2bc399'/>
<id>urn:sha1:cee4f034385902659ec1ade666e17537eb2bc399</id>
<content type='text'>
</content>
</entry>
<entry>
<title>mmap obmalloc arenas so that they may be immediately returned to the system when unused (closes #20494)</title>
<updated>2014-02-04T15:20:26Z</updated>
<author>
<name>Benjamin Peterson</name>
<email>benjamin@python.org</email>
</author>
<published>2014-02-04T15:20:26Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=d16e01cf75a2663c74c2e36beda6397546a8ae52'/>
<id>urn:sha1:d16e01cf75a2663c74c2e36beda6397546a8ae52</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix building without pymalloc (closes #17228)</title>
<updated>2013-02-20T21:54:30Z</updated>
<author>
<name>Benjamin Peterson</name>
<email>benjamin@python.org</email>
</author>
<published>2013-02-20T21:54:30Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=8e830a06643384d0c33432207585e5b0702d18a5'/>
<id>urn:sha1:8e830a06643384d0c33432207585e5b0702d18a5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merged revisions 87834 via svnmerge from</title>
<updated>2011-01-07T21:49:44Z</updated>
<author>
<name>Antoine Pitrou</name>
<email>solipsis@pitrou.net</email>
</author>
<published>2011-01-07T21:49:44Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=5a72e76b6938941547dd25f9198db7d17fa36960'/>
<id>urn:sha1:5a72e76b6938941547dd25f9198db7d17fa36960</id>
<content type='text'>
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r87834 | antoine.pitrou | 2011-01-07 22:43:59 +0100 (ven., 07 janv. 2011) | 5 lines

  Issue #8020: Avoid a crash where the small objects allocator would read
  non-Python managed memory while it is being modified by another thread.
  Patch by Matt Bandy.
........
</content>
</entry>
</feed>
