• Tim Peters's avatar
    In a PYMALLOC_DEBUG build obmalloc adds extra debugging info · 9ea89d2a
    Tim Peters yazdı
    to each allocated block.  This was using 4 bytes for each such
    piece of info regardless of platform.  This didn't really matter
    before (proof: no bug reports, and the debug-build obmalloc would
    have assert-failed if it was ever asked for a chunk of memory
    >= 2**32 bytes), since container indices were plain ints.  But after
    the Py_ssize_t changes, it's at least theoretically possible to
    allocate a list or string whose guts exceed 2**32 bytes, and the
    PYMALLOC_DEBUG routines would fail then (having only 4 bytes
    to record the originally requested size).
    
    Now we use sizeof(size_t) bytes for each of a PYMALLOC_DEBUG
    build's extra debugging fields.  This won't make any difference
    on 32-bit boxes, but will add 16 bytes to each allocation in
    a debug build on a 64-bit box.
    9ea89d2a
Adı
Son kayıt (commit)
Son güncelleme
..
RPM Loading commit data...
Vim Loading commit data...
ACKS Loading commit data...
AIX-NOTES Loading commit data...
BeOS-NOTES Loading commit data...
BeOS-setup.py Loading commit data...
HISTORY Loading commit data...
NEWS Loading commit data...
NEWS.help Loading commit data...
PURIFY.README Loading commit data...
Porting Loading commit data...
README Loading commit data...
README.OpenBSD Loading commit data...
README.valgrind Loading commit data...
RFD Loading commit data...
SpecialBuilds.txt Loading commit data...
build.sh Loading commit data...
cheatsheet Loading commit data...
developers.txt Loading commit data...
find_recursionlimit.py Loading commit data...
gdbinit Loading commit data...
indent.pro Loading commit data...
pymemcompat.h Loading commit data...
python-config.in Loading commit data...
python-mode.el Loading commit data...
python.man Loading commit data...
setuid-prog.c Loading commit data...
valgrind-python.supp Loading commit data...
vgrindefs Loading commit data...