[issue27987] obmalloc's 8-byte alignment causes undefined behavior

Neil Schemenauer report at bugs.python.org
Thu Nov 9 16:35:54 EST 2017


Neil Schemenauer <nas-python at arctrix.com> added the comment:

FYI, this would seem to be an incentive to get my "bitmaps for small GC objects" idea implemented.  I.e.

https://mail.python.org/pipermail/python-dev/2017-September/149307.html

If implemented, the extra size of the PyGC_Head would only apply to "large" objects.  In my prototype, I'm thinking of using 512 bytes as the size limit for small GC objects.

----------
nosy: +nascheme

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue27987>
_______________________________________


More information about the Python-bugs-list mailing list