]> granicus.if.org Git - gc/commit
Fix assertion in GC_malloc_[atomic_]uncollectable (THREADS case only)
authorIvan Maidanski <ivmai@mail.ru>
Wed, 16 May 2012 04:34:10 +0000 (08:34 +0400)
committerIvan Maidanski <ivmai@mail.ru>
Wed, 16 May 2012 08:34:33 +0000 (12:34 +0400)
commit5b25be3c7ac53699ca4fddf48c9d724b9575d7f8
tree917df3fa7c7564bc0b5808c2eb763a6269d44206
parent73cf1a5e9d15a5ba8fa947c286e265ead3b666bd
Fix assertion in GC_malloc_[atomic_]uncollectable (THREADS case only)

* malloc.c (GC_malloc_uncollectable): Do not check assertion on
hb_n_marks to be zero if multi-threaded; add comment.
* mallocx.c (GC_malloc_atomic_uncollectable): Likewise.
malloc.c
mallocx.c