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: fix SPMI collection for getStaticFieldCurrentClass #75489

Merged
merged 1 commit into from
Sep 13, 2022

Conversation

AndyAyersMS
Copy link
Member

This jit interface method has some unusual semantics: the presence of the optional pIsSpeculative argument changes its behavior. During collection, SPMI was always passing this parameter, and so was returning incorrect results to the jit.

Closes #74969.

This jit interface method has some unusual semantics: the presence of the
optional `pIsSpeculative` argument changes its behavior. During collection,
SPMI was always passing this parameter, and so was returning incorrect
results to the jit.

Closes dotnet#74969.
@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 Sep 12, 2022
@ghost ghost assigned AndyAyersMS Sep 12, 2022
@ghost
Copy link

ghost commented Sep 12, 2022

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

Issue Details

This jit interface method has some unusual semantics: the presence of the optional pIsSpeculative argument changes its behavior. During collection, SPMI was always passing this parameter, and so was returning incorrect results to the jit.

Closes #74969.

Author: AndyAyersMS
Assignees: -
Labels:

area-CodeGen-coreclr

Milestone: -

@AndyAyersMS
Copy link
Member Author

@EgorBo PTAL
cc @dotnet/jit-contrib

Note this means all current SPMI collections are suspect and may give misleading results. Once this is merged, I will trigger a new collection.

@AndyAyersMS AndyAyersMS merged commit c51a236 into dotnet:main Sep 13, 2022
@ghost ghost locked as resolved and limited conversation to collaborators Oct 13, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
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.

superpmi: test failure collecting b425314.cmd
2 participants