]> granicus.if.org Git - python/commit
Close #19741: tracemalloc_realloc() does not release the table lock anymore
authorVictor Stinner <victor.stinner@gmail.com>
Wed, 4 Dec 2013 00:47:46 +0000 (01:47 +0100)
committerVictor Stinner <victor.stinner@gmail.com>
Wed, 4 Dec 2013 00:47:46 +0000 (01:47 +0100)
commit88c29877c7ebe04892d2800c4e554298b9e38465
tree14a09f678818ca7ceb1dcab027d85f7a0d61256c
parent1511680b79c1d959e1186df4d19a9a93881b128d
Close #19741: tracemalloc_realloc() does not release the table lock anymore
between tracemalloc_remove_trace() and tracemalloc_add_trace() to reduce the
risk of race condition.

tracemalloc_add_trace() cannot fail anymore in tracemalloc_realloc() when
tracemalloc_realloc() resizes a memory block.
Modules/_tracemalloc.c