[interp] lock when acquiring memory from a mempool.
authorBernhard Urban <bernhard.urban@xamarin.com>
Mon, 13 Mar 2017 16:39:58 +0000 (17:39 +0100)
committerBernhard Urban <bernhard.urban@xamarin.com>
Mon, 13 Mar 2017 16:41:31 +0000 (17:41 +0100)
commitbae654cbf7a53a12a9493f7f62162379ae6b6860
tree722605b1b112adf527dcfebbc6141626b71b1806
parentd4513c61d42a0c413a15a269aa284eda95cdb75f
[interp] lock when acquiring memory from a mempool.

`mono_domain_alloc` does that for us. also, use proper locking around
JIT code hashtable.  the interpreter repurpose the JITs hashtable, so
let's use the existing locks.
mono/mini/interp/interp.c
mono/mini/interp/transform.c