rts: Unglobalize dead_weak_ptr_list and resurrected_threads
authorÖmer Sinan Ağacan <omer@well-typed.com>
Tue, 5 Feb 2019 17:45:17 +0000 (12:45 -0500)
committerMarge Bot <ben+marge-bot@smart-cactus.org>
Wed, 6 Mar 2019 20:53:32 +0000 (15:53 -0500)
commit5aab1d9ca927a058135ca9a08c10ea3474cbe251
treed958e4ff355b1ca59b23ceee3dc76d2f5cf16d8b
parent2ff77b9894eecf51fa619ed2266ca196e296cd1e
rts: Unglobalize dead_weak_ptr_list and resurrected_threads

In the concurrent nonmoving collector we will need the ability to call
`traverseWeakPtrList` concurrently with minor generation collections.
This global state stands in the way of this. However, refactoring it
away is straightforward since this list only persists the length of a
single GC.
rts/sm/Compact.c
rts/sm/Compact.h
rts/sm/GC.c
rts/sm/MarkWeak.c
rts/sm/MarkWeak.h