Skip to content

JIT: fix SPMI collection for getStaticFieldCurrentClass#75489

Merged
AndyAyersMS merged 1 commit into
dotnet:mainfrom
AndyAyersMS:Fix74969
Sep 13, 2022
Merged

JIT: fix SPMI collection for getStaticFieldCurrentClass#75489
AndyAyersMS merged 1 commit into
dotnet:mainfrom
AndyAyersMS:Fix74969

Conversation

@AndyAyersMS

Copy link
Copy Markdown
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.
@ghost ghost 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

ghost commented Sep 12, 2022

Copy link
Copy Markdown

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
Copy Markdown
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