[interp] Don't change next_jit_code_hash during imethod transform (mono/mono#14240)
authorVlad Brezae <brezaevlad@gmail.com>
Fri, 26 Apr 2019 15:20:33 +0000 (18:20 +0300)
committerBernhard Urban <lewurm@gmail.com>
Fri, 26 Apr 2019 15:20:33 +0000 (17:20 +0200)
commiteb1bb5a77a33d5103af7c3b3c319f8a37a4469ff
tree246062cc9154164ae9b57376662f453441a9ea80
parenta8d3a74f455999a993cdd1e99f47e53522723d5b
[interp] Don't change next_jit_code_hash during imethod transform (mono/mono#14240)

This field is used by the internal hash table to link nodes and it can be changed during hash table insertion of other imethods. Copying this field back was leading to random hangs in hash table lookup.

Commit migrated from https://github.com/mono/mono/commit/6fb7b496bd3a0bb0fa9e66cf03761eca38c78ff2
src/mono/mono/mini/interp/transform.c