[sgen] Assert that skipped threads have empty an HandleStack
authorAleksey Kliger <aleksey@xamarin.com>
Thu, 22 Dec 2016 17:31:46 +0000 (12:31 -0500)
committerAleksey Kliger (λgeek) <akliger@gmail.com>
Tue, 27 Dec 2016 15:48:29 +0000 (10:48 -0500)
commit82bbb8dbd83dc1bbfa1137efa07d8de87eb52f06
treebe0a8f9577c4667360980ad036a9509318fb605c
parentfd7e072c8d34b2f8948d04103521daf0b826a974
[sgen] Assert that skipped threads have empty an HandleStack

If we skip scanning a thread with a non-empty handle stack, we may move an
object but fail to update the reference in the handle.
mono/metadata/sgen-mono.c