newrelic-dotnet-agent icon indicating copy to clipboard operation
newrelic-dotnet-agent copied to clipboard

SPIKE - tiered compilation/rejit support in profiler

Open nr-ahemsath opened this issue 3 years ago • 3 comments

Note: this is a high-level summary; more details should be added as they are discovered.

A theme of .NET 6 is startup performance improvements and profile-guided optimization. This involves the native profiler component of the agent and the ability to handle application methods being JIT-compiled more than once.

Another feature which has been around since .NET Core 3.0 is tiered compilation, which involves the same thing - methods being re-JITted. At the time netcore 3 was released, our profiler could not handle this, and so we actively disable tiered compilation in apps we instrument.

We need a spike to research the current state of the profiler's ability to handle tiered compilation and re-jitting in general.

nr-ahemsath avatar Jun 08 '21 17:06 nr-ahemsath

Removing this issue from the scope of .NET 6 GA support, but keeping it around since I think it's still a good idea to spend some time researching the current state of tiered compilation support in the profiler (or what profiler changes would enable tiered compilation support).

nr-ahemsath avatar Oct 26 '21 16:10 nr-ahemsath

https://issues.newrelic.com/browse/NEWRELIC-3516

This Issue has been marked stale after 90 days with no activity. It will be closed in 30 days if there is no activity.

github-actions[bot] avatar Dec 13 '22 00:12 github-actions[bot]