Added two new profile data flags: ExcludeHotMethodCode and ExcludeColdMethodCode
authorBrian Sullivan <briansul@microsoft.com>
Tue, 28 Mar 2017 00:00:51 +0000 (17:00 -0700)
committerBrian Sullivan <briansul@microsoft.com>
Thu, 30 Mar 2017 00:53:37 +0000 (17:53 -0700)
commitff3518d0a850785c4b991695303519172c0f36dc
treed7c6c7c2246ab1dc004dee20159a3d08f8aab94c
parent8e986affba47efc1ce85ab0bb9428a6c28dae279
Added two new profile data flags: ExcludeHotMethodCode and ExcludeColdMethodCode

Refactored zapimage CompileProfileData into four new methods:
CompileHotRegion, CompileColdRegion, PlaceMethodIL and ProfileDisableInlining

Preserve the CompileStatus and methodProfilingDataFlags used when we compile methods during CompileHotRegion()
Then during CompileColdRegion retrieve these value and exclude the method from the AOT native image if the status is COMPILE_EXCLUDED.
src/inc/corbbtprof.h
src/zap/zapimage.cpp
src/zap/zapimage.h