When using ReplayPolicy and dumping data, capture the profitability
estimate made by the ModelPolicy, so we can more easily cross-validate
it against externally measured profitability.
Commit migrated from https://github.com/dotnet/coreclr/commit/
10af6af8d2254f3ce8a4f4050bac29c7e5b13de1
}
// If we're also dumping inline data, make additional observations
- // based on the method info, and estimate code size, so that the
- // reports have the necessary data.
+ // based on the method info, and estimate code size and perf
+ // impact, so that the reports have the necessary data.
if (JitConfig.JitInlineDumpData() != 0)
{
MethodInfoObservations(methodInfo);
EstimateCodeSize();
+ EstimatePerformanceImpact();
m_IsForceInline = m_WasForceInline;
}