JIT: treat synthesized profile data as pgo data, fix finally weights#83185
JIT: treat synthesized profile data as pgo data, fix finally weights#83185AndyAyersMS merged 3 commits intodotnet:mainfrom
Conversation
…ropagation Once synthesis arrives on the scene, we're not going to want phases in the JIT to arbitrarily modifing block weights. There is already a guard of this sort for regular profile data, so it makes sense to extend that to synthesized data as well. When synthesizing counts, propagate counts to finallies from the associated trys. This needs to be done carefully as we have make sure not to visit the finally until the count in the try is set. We rely on some of the properties of DFS pre and post number bracketing to do this efficiently, without needing to track extra state. Contributes to dotnet#82964.
|
Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch, @kunalspathak Issue DetailsOnce synthesis arrives on the scene, we're not going to want phases in the JIT to arbitrarily modifing block weights. There is already a guard of this sort for regular profile data, so it makes sense to extend that to synthesized data as well. When synthesizing counts, propagate counts to finallies from the associated trys. This needs to be done carefully as we have make sure not to visit the finally until the count in the try is set. We rely on some of the properties of DFS pre and post number bracketing to do this efficiently, without needing to track extra state. Contributes to #82964.
|
|
@BruceForstall PTAL Should be no diff though one of my local SPMI runs hit a "general fatal error" -- looks like it was in post-processing though. |
|
SPMI replay timed out. |
Once synthesis arrives on the scene, we're not going to want phases in the JIT arbitrarily modifying block weights. There is already a guard of this sort for regular profile data, so it makes sense to extend that to synthesized data as well.
When synthesizing counts, propagate counts to finallies from the associated trys. This needs to be done carefully as we have make sure not to visit the finally until the count in the try is set. We rely on some of the properties of DFS pre and post number bracketing to do this efficiently, without needing to track extra state.
Contributes to #82964.