]> 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>
Sat, 19 May 2012 13:11:57 +0000 (17:11 +0400)
commit9bab7ecc9b7ec5cb8b621f529252b2acfd59d7ff
treef2cf00644735bd8bde17c4869a93e772f790c8a0
parent7cc205da4c6c561775071626e2e15f6fe99b66f2
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