Fix arm altjit asm diffs
authorBruce Forstall <brucefo@microsoft.com>
Tue, 2 Apr 2019 22:22:17 +0000 (15:22 -0700)
committerBruce Forstall <brucefo@microsoft.com>
Tue, 2 Apr 2019 22:22:17 +0000 (15:22 -0700)
commitbbf911341441941ecb42767b6f4e9441b1de9e78
treef1daab330e33cd98d283013fe62ccd4d9912033f
parent5cd9a8d2f9b5f7e3a651aedaa00916ab74ec38a3
Fix arm altjit asm diffs

At shutdown, the VM iterates over generated code as part of ETW
"rundown". This currently includes altjit generated code. It calls
functions which interprets the code as native code, e.g., arm32
GC info as x86 GC info.

The fix is to make a call to BackoutJitData(), which was already
suggested in the comments. This removes the altjit generated code
from the "nibble map", and hence from the iteration.

Fixes #23393
src/vm/jitinterface.cpp