]> granicus.if.org Git - gc/commit
Fix infinite restarting of mark_some when a static root disappeared (Linux)
authorIvan Maidanski <ivmai@mail.ru>
Mon, 7 May 2018 08:05:15 +0000 (11:05 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Fri, 6 Jul 2018 16:29:25 +0000 (19:29 +0300)
commit67338bbd70f48cd8f5b3db463f5bda4574326c84
tree19413e41e6ae8bc2665d8c8ae3b18a62bf03577a
parent6d4c8c197a0b16494dc2deac18c7c6756e69d7cc
Fix infinite restarting of mark_some when a static root disappeared (Linux)
(a cherry-pick of commits 38d194a3e849b45c from 'master')

Issue #218 (bdwgc).

* dyn_load.c [USE_PROC_FOR_LIBRARIES] (GC_register_map_entries): Call
GC_remove_roots_subregion for each region which has prot starting
with "---"; add comment.
* include/private/gc_priv.h [USE_PROC_FOR_LIBRARIES]
(GC_remove_roots_subregion): Declare function.
* mark_rts.c [USE_PROC_FOR_LIBRARIES] (GC_remove_roots_subregion):
Implement (including partial overlapping).
dyn_load.c
include/private/gc_priv.h
mark_rts.c