forked from dotnet/runtime
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
JIT: use profile data even when schema doesn't match
After looking at some of the cases of pgo schema mismatch (dotnet#51908), the pgo schemas still seem to have partial validity, so by default the jit will now use the schema and data even for mismatches. Add the ability to optionally assert on mismatches. Also add a mode where the the jit compares the schema it provided to the the runtime with the schema the runtime gives back to the jit, to try and locate possible schema compression/decompression issues that might lead to the sorts of mismatches we're seeing. This turns out not to have found any issues. All the mismatches we see are from schemas provided to the jit via static PGO. But it seems like a useful capability to retain.
- Loading branch information
1 parent
d44bd23
commit f705ca3
Showing
2 changed files
with
87 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters