[interp] Improve performance of generic virtual calls
commit11aca2f9396b0dc068e4aadca7aefb95162f27b1
authorVlad Brezae <brezaevlad@gmail.com>
Thu, 17 Jan 2019 14:57:15 +0000 (17 16:57 +0200)
committerVlad Brezae <brezaevlad@gmail.com>
Tue, 22 Jan 2019 14:55:46 +0000 (22 16:55 +0200)
tree9a17bbca450625c218fb903828a48f4111ad5f42
parent2c73aa015b5a417223c165607c5b6cbf048c214e
[interp] Improve performance of generic virtual calls

Different instantiations of generic virtual methods occupy the same slot in the vtable. We probe them using a single linked list, by the same logic of jit's imt trampolines.
mono/mini/interp/interp.c
mono/mini/interp/transform.c