]> 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>
Tue, 8 Aug 2017 07:43:21 +0000 (10:43 +0300)
commitc18ff9a94eecdab467bf08b2934a51fa353ca1d0
tree715b5388f98f7ee8e9ef76540981256212b7fd3b
parent4ac7e3123420b62a8037610a256fd730bb79edd9
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