Repository navigation
Feed MIBC PGO data into ServiceHub CoreComponents crossgen2 - #83301
Merged
Merged
Conversation
olegtk
marked this pull request as draft
April 22, 2026 21:52
olegtk
commented
Apr 22, 2026
olegtk
force-pushed
the
dev/olegtk/FixCrossGenPgo
branch
from
April 22, 2026 22:00
89f3957 to
a207855
Compare
Contributor
Author
|
/pr-val a207855 |
Contributor
|
You do not have permission to trigger this workflow. Only Microsoft employees who are contributors to the roslyn repository can run pipelines. |
Contributor
|
Failed to trigger the pipeline. Please check the workflow logs for details. |
Member
|
/pr-val a207855 |
Contributor
|
View PR Validation Run triggered by @dibarbet Parameters
|
olegtk
force-pushed
the
dev/olegtk/FixCrossGenPgo
branch
2 times, most recently
from
April 22, 2026 23:13
cfd1c57 to
44a2e5f
Compare
The CrossGen OptProf pipeline produces mergedTrace.mibc with profile-guided optimization data for .NET Core assemblies. The DD-VS-PR-OptProf pipeline already publishes this MIBC file into the OptimizationInputs drop alongside .ibc files — the same drop that Roslyn's official build downloads via Arcade's VisualStudio.AcquireOptimizationData.targets. However, the ServiceHub CoreComponents crossgen2 step was not consuming it. This means R2R compilation used only static heuristics, resulting in excess JIT in processes that load these assemblies (e.g. DevHub). This change adds a glob for *.mibc files in the IBC optimization data directory and passes them as --mibc flags to crossgen2.
olegtk
force-pushed
the
dev/olegtk/FixCrossGenPgo
branch
from
April 22, 2026 23:14
44a2e5f to
aacc62c
Compare
olegtk
marked this pull request as ready for review
April 23, 2026 17:17
Member
|
/pr-val aacc62c |
Contributor
|
View PR Validation Run triggered by @dibarbet Parameters
|
dibarbet
approved these changes
Apr 24, 2026
JoeRobich
approved these changes
Apr 24, 2026
sandyarmstrong
approved these changes
Apr 24, 2026
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The CrossGen OptProf pipeline now produces mergedTrace.mibc with profile-guided optimization data for .NET Core assemblies, but the ServiceHub CoreComponents crossgen2 step was not consuming it. This means R2R compilation used only static heuristics, resulting in excess JIT in the DevHub process.
This change passes the MIBC directory to MSBuild via ServiceHubMibcDataDir
Microsoft Reviewers: Open in CodeFlow