[interp] Reduce computation under calc_section mutex
commitaa05d4f43c127a3d34aeb5e7b8ece58a452aa7e3
authorVlad Brezae <brezaevlad@gmail.com>
Tue, 25 Jun 2019 15:43:25 +0000 (25 18:43 +0300)
committerLarry Ewing <lewing@microsoft.com>
Wed, 26 Jun 2019 12:10:37 +0000 (26 07:10 -0500)
tree527a0d2ad0b6c5d78988f1a0effb49995aa25166
parentf185358d96085597de63910741496f3703d49ce0
[interp] Reduce computation under calc_section mutex

Calc_section mutex is meant to be a lower level mutex used only for synchronization on InterpMethod contents. Before this commit we were taking the loader mutex which was leading to deadlocks.
mono/mini/interp/transform.c