[issue21220] Enhance obmalloc allocation strategy

Charles-François Natali report at bugs.python.org
Wed Apr 16 09:03:37 CEST 2014


Charles-François Natali added the comment:

> In Python 3, arenas are allocated using mmap(), so wherever the arena ends up in the address space shouldn't matter, should it?

Indeed, although the effect on cache locality isn't clear.
Also, I don't think this solves the problem of having a single object
allocated inside a high address arena preventing the heap from
shrinking (which was the original reason for having the arenas
allocated by mmap).

Anyway, we can only go that far with reference counting (I mean that
you'd need a proper moving garbage collector for this).

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21220>
_______________________________________


More information about the Python-bugs-list mailing list