Check MultiCoreJit code cache before trying to jit method in mcj thread
authorGleb Balykov <g.balykov@samsung.com>
Tue, 5 Apr 2022 10:03:17 +0000 (13:03 +0300)
committer이형주/Common Platform Lab(SR)/삼성전자 <leee.lee@samsung.com>
Tue, 26 Apr 2022 22:44:23 +0000 (07:44 +0900)
commit1f83f4199ecd8f4abd3e03deb803f354c8655e50
treebdb73a32f70901f6bc024fdef0e39339237a4f47
parent239ca995e1f81c2c1d2f7779ff37356b9cbae959
Check MultiCoreJit code cache before trying to jit method in mcj thread

This is needed when multiple profiles are played and same methods exist in them.
Without this change, if method was not yet requested in main thread,
it will be jitted as many times in mcj thread as it appears in all profiles.
src/coreclr/vm/multicorejit.h
src/coreclr/vm/multicorejitplayer.cpp