]> granicus.if.org Git - gc/commit
Fix push_complex_descriptor to avoid unlimited global mark stack growth
authorIvan Maidanski <ivmai@mail.ru>
Tue, 11 Jul 2017 23:04:30 +0000 (02:04 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Wed, 12 Jul 2017 08:18:44 +0000 (11:18 +0300)
commit774a05a1e8a421814055a23a55cc86316d916935
tree63ddb8ba7cae9db199a25d720b0caef4d223570b
parenta4721b4a21397db07a5381fefe44227424669bd0
Fix push_complex_descriptor to avoid unlimited global mark stack growth

Global mark stack should not grow in parallel marker mode (as
fixed-size local_mark_stack is used instead).

* typd_mlc.c [PARALLEL_MARK] (GC_array_mark_proc): Do not set
GC_mark_stack_too_small if GC_parallel (and new_mark_stack_ptr is
null); add comment.
typd_mlc.c