Skip to content

Conversation

@fuguiKz
Copy link
Contributor

@fuguiKz fuguiKz commented Dec 26, 2025

Fixes #2635.\n\nAdds a brief note about the Jitting iteration stage (pre-JIT/tiered JIT warmup) to the "How it works" guide.

@fuguiKz
Copy link
Contributor Author

fuguiKz commented Dec 26, 2025

Good point — I updated the pseudocode to call JittingStage(method) and added a JittingStage method stub for consistency.


void JittingStage(Method method)
{
RunIteration(method, invokeCount: 1, unrollFactor: 1);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
RunIteration(method, invokeCount: 1, unrollFactor: 1);
RunIteration(method, invokeCount: 1, unrollFactor: 1);
if (JitInfo.IsTiered)
{
for (int i = 0; i < JitInfo.MaxTierPromotions; i++)
{
RunIteration(method, invokeCount: JitInfo.TieredCallCountThreshold, unrollFactor: 1);
Thread.Sleep(250);
}
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Extend How it works docs with Jitting phase

2 participants