-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Profiling, profile-guided optimization, and deoptimization #7235
Comments
Related issue https://github.com/dotnet/coreclr/issues/8819 |
The challenge we face using any of these analyses is that they potentially become invalid once new classes are loaded. In general the optimizations they enable are speculative. Taking advantage of the information they provide would require work, possibly quite extensive work, in both JIT and VM. Also note that there are important differences between Java/JVM and C#/CLR that can make it tricky to assess the benefit of particular classes of optimizations. |
@AndyAyersMS / @davidwrighton - is this issue still relevant or are we tracking it elsewhere? |
Most of this is now implemented, though we don't fully support partial compilation (we can only do it when not optimizing, and it's not really driven by profile data), and we still haven't enabled partial compilation by default. So I think we can close this. |
This is a proposal for profile-guided optimization and deoptimization, much as is performed by the JVM. This will allow all of the following:
The text was updated successfully, but these errors were encountered: