Skip to content

Conversation

@kg
Copy link
Member

@kg kg commented Sep 12, 2025

Also adds debug print of the end offset of method code so it's easier to tell when you've got an invalid offset

Fixes JIT\Regression\JitBlue\Runtime_64208

@kg kg requested a review from BrzVlad as a code owner September 12, 2025 17:30
Copilot AI review requested due to automatic review settings September 12, 2025 17:30
@kg kg requested a review from janvorli as a code owner September 12, 2025 17:30
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR fixes a bug in the interpreter where mov_src_off opcodes were not being properly patched at emit time, causing incorrect live end offsets for garbage collection. The fix ensures GC live range computations work correctly by updating the instruction's opcode and data during emission.

Key changes:

  • Patches mov_src_off opcodes with actual move opcodes during emission to fix GC live range calculations
  • Adds debug printing improvements to show end offset of method code for easier debugging

@dotnet-policy-service
Copy link
Contributor

Tagging subscribers to this area: @BrzVlad, @janvorli, @kg
See info in area-owners.md if you want to be subscribed.

@kg kg merged commit 1f50a94 into dotnet:main Sep 13, 2025
98 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Oct 14, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants