Skip to content
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

JIT: Simplify internal GC tracking structures #113071

Merged
merged 1 commit into from
Mar 4, 2025

Conversation

jakobbotsch
Copy link
Member

Track all integer registers for calls in regPtrDsc. This does not cost any extra memory (in fact, it probably saves a little) and it saves us from going back and forth between an intermediate format. It also unblocks proper GC reporting for helper calls that are GC reported with non-standard calling convention (being experimented with in #112406).

Track all integer registers for calls in `regPtrDsc`. This does not cost
any extra memory and it saves us from going back and forth between an
intermediate format. It also unblocks proper GC reporting for helper
calls that are GC reported with non-standard calling convention.
@dotnet-issue-labeler dotnet-issue-labeler bot added the area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI label Mar 3, 2025
@jakobbotsch jakobbotsch marked this pull request as ready for review March 3, 2025 15:03
@Copilot Copilot bot review requested due to automatic review settings March 3, 2025 15:03

Choose a reason for hiding this comment

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

Copilot reviewed 9 out of 9 changed files in this pull request and generated no comments.

@jakobbotsch
Copy link
Member Author

cc @dotnet/jit-contrib PTAL @VSadov

No diffs. This also means no differences in the reported GC info.

@jakobbotsch jakobbotsch requested a review from VSadov March 3, 2025 15:04
Copy link
Member

@kunalspathak kunalspathak left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Member

@VSadov VSadov left a comment

Choose a reason for hiding this comment

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

Nice!

@jakobbotsch jakobbotsch merged commit 1895e05 into dotnet:main Mar 4, 2025
113 checks passed
@jakobbotsch jakobbotsch deleted the simplify-gc-regs-tracking branch March 4, 2025 08:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants