[sgen] Scan the handle stack for dangling ptrs during domain unload
authorAleksey Kliger <aleksey@xamarin.com>
Wed, 24 May 2017 16:25:26 +0000 (12:25 -0400)
committerAleksey Kliger <aleksey@xamarin.com>
Wed, 24 May 2017 18:10:42 +0000 (14:10 -0400)
commit182f7c33c180d70481052957c79472169c4f5014
treed096b831fd984d80093df6b05548e893f1e3ec91
parente3ede19ce7da8f0520862bda0ef8bc12e6cab9a1
[sgen] Scan the handle stack for dangling ptrs during domain unload

There should be no handles pointing to objects in the domain that is unloading
in any thread's handle stack once mono_gc_clear_domain () is called.
mono/metadata/handle.c
mono/metadata/handle.h
mono/metadata/sgen-mono.c