• Tim Peters's avatar
    It's once again thought safe to call the pymalloc free/realloc with an · c2ce91af
    Tim Peters yazdı
    address obtained from system malloc/realloc without holding the GIL.
    
    When the vector of arena base addresses has to grow, the old vector is
    deliberately leaked.  This makes "stale" x-thread references safe.
    arenas and narenas are also declared volatile, and changed in an order
    that prevents a thread from picking up a value of narenas too large
    for the value of arenas it sees.
    
    Added more asserts.
    
    Fixed an old inaccurate comment.
    
    Added a comment explaining why it's safe to call pymalloc free/realloc
    with an address obtained from system malloc/realloc even when arenas is
    still NULL (this is obscure, since the ADDRESS_IN_RANGE macro
    appears <wink> to index into arenas).
    c2ce91af
Adı
Son kayıt (commit)
Son güncelleme
..
.cvsignore Loading commit data...
abstract.c Loading commit data...
bufferobject.c Loading commit data...
cellobject.c Loading commit data...
classobject.c Loading commit data...
cobject.c Loading commit data...
complexobject.c Loading commit data...
descrobject.c Loading commit data...
dictobject.c Loading commit data...
fileobject.c Loading commit data...
floatobject.c Loading commit data...
frameobject.c Loading commit data...
funcobject.c Loading commit data...
intobject.c Loading commit data...
iterobject.c Loading commit data...
listobject.c Loading commit data...
longobject.c Loading commit data...
methodobject.c Loading commit data...
moduleobject.c Loading commit data...
object.c Loading commit data...
obmalloc.c Loading commit data...
rangeobject.c Loading commit data...
sliceobject.c Loading commit data...
stringobject.c Loading commit data...
structseq.c Loading commit data...
tupleobject.c Loading commit data...
typeobject.c Loading commit data...
unicodectype.c Loading commit data...
unicodeobject.c Loading commit data...
unicodetype_db.h Loading commit data...
weakrefobject.c Loading commit data...
xxobject.c Loading commit data...