[coop] Blacklist two more wrappers when generating safepoints.
authorRodrigo Kumpera <kumpera@gmail.com>
Thu, 27 Aug 2015 19:10:10 +0000 (15:10 -0400)
committerRodrigo Kumpera <kumpera@gmail.com>
Thu, 27 Aug 2015 19:21:48 +0000 (15:21 -0400)
commit11367d77abc4e6d664c3e0ad656b73e262c91ffe
tree2a673ca6fa74f19ba2190c845746f0d43b47e895
parenta6001390bf90782dc22f3440f25c8ca12b4b4e9c
[coop] Blacklist two more wrappers when generating safepoints.

A GC Safepoint require the thread to be in GC unsafe mode to run properly.

Both mono_threads_finish_blocking and mono_threads_reset_blocking_start are called
in GC Safe mode, which would cause them to assert in checked-build.

mono_threads_finish_blocking is called after a pinvoke finished, which means the thread will
still be in blocking mode.

mono_threads_reset_blocking_start is called by reverse pinvoke wrappers before calling managed
code, so it will be in blocking mode too.

This looks like something checked-build should catch by setting the polling variable more frequently.
mono/mini/mini.c