[runtime] Convert more icalls to use handles. (#15862)
commit60c277cb4eec4bac9b4149cc345155f3b810e7da
authorZoltan Varga <vargaz@gmail.com>
Wed, 31 Jul 2019 18:08:50 +0000 (31 14:08 -0400)
committerGitHub <noreply@github.com>
Wed, 31 Jul 2019 18:08:50 +0000 (31 14:08 -0400)
treebdd1bb8dfc89e4a9c2f8ee8a8fc2f1829e889ab4
parent349a3d5eef9ceaae51ef4d9d984cebab36ef0a2f
[runtime] Convert more icalls to use handles. (#15862)

* [runtime] Convert Volatile to use the same approach as the netcore version, get rid of most Volatile icalls.

* [runtime] Reduce the number of handles used by construct_culture ().

* [runtime] Convert some icalls to handles.

* Fix signature of FAMNextEvent.

* [aot] Avoid aoting the gsharedvt versions of Volatile:Read<T>/Write<T>.

* Bump API snapshot submodule

* Convert Marshal:UnsafeAddrOfPinnedArrayElement to use coop handles.
14 files changed:
external/api-snapshot
mcs/class/corlib/System.Threading/Volatile.cs
mono/metadata/filewatcher.c
mono/metadata/filewatcher.h
mono/metadata/icall-decl.h
mono/metadata/icall-def.h
mono/metadata/icall-table.h
mono/metadata/icall.c
mono/metadata/locales.c
mono/metadata/marshal.c
mono/metadata/marshal.h
mono/metadata/threads-types.h
mono/metadata/threads.c
mono/mini/aot-compiler.c