[sgen] Fix verify-before-allocs.
authorJon Purdy <evincarofautumn@gmail.com>
Thu, 13 Oct 2016 21:06:25 +0000 (14:06 -0700)
committerJon Purdy <evincarofautumn@gmail.com>
Thu, 13 Oct 2016 21:06:25 +0000 (14:06 -0700)
commit72362aefea25edb7807e4faa0e77cf9979bd222a
tree5463bb8f493fd1c3439aa5cf6bb2ae87b570d891
parentd0fb7a1240445cf86e32022dab186fbd5b21ccc7
[sgen] Fix verify-before-allocs.

sgen_check_whole_heap_stw() calls sgen_stop_world(), which assumes the
GC lock is held.
mono/sgen/sgen-alloc.c