Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Conversation

@CarolEidt
Copy link

@CarolEidt CarolEidt commented Jan 9, 2020

Port of dotnet/runtime#1279 to 3.1 branch.
This is the fix for dotnet/runtime#1241. This is a SBCG bug reported externally. When a struct is partially written, the JIT fails to invalidate assertions (in this case that the entire struct had been zero'd). This results in incorrect optimization. The fix is to invalidate the assertions in the partial write case.

Customer Impact

SBCG resulting in incorrect behavior.

Regression?

Not a recent regression, but exposed by doing more optimizations on structs.

Testing

The fix has been verified in the runtime repo.

Risk

Low: The fix is straightforward and kills assertions which only disables optimizations.

Code Reviewer

@briansull and @BruceForstall

@wtgodbe
Copy link
Member

wtgodbe commented Jan 17, 2020

Is this for 3.1.3? CC @jeffschwMSFT

@MeiChin-Tsai
Copy link

Please add code reviewer.

It will be for 3.1.3.

@CarolEidt
Copy link
Author

@briansull @BruceForstall - you reviewed the original change, can you verify this port?

@jeffschwMSFT jeffschwMSFT added the Servicing-consider Issue for next servicing release review label Jan 17, 2020
@jeffschwMSFT jeffschwMSFT added this to the 3.1.x milestone Jan 17, 2020
@jeffschwMSFT
Copy link
Member

@wtgodbe yes we will seek 3.1.3 approval

Copy link

@briansull briansull left a comment

Choose a reason for hiding this comment

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

Looks Good

@jeffschwMSFT jeffschwMSFT added Servicing-approved Approved for servicing release and removed Servicing-consider Issue for next servicing release review labels Feb 6, 2020
@jeffschwMSFT jeffschwMSFT modified the milestones: 3.1.x, 3.1.3 Feb 6, 2020
@jeffschwMSFT
Copy link
Member

Approved for 3.1.3 (March) - need to wait for the branch to open before merging

@Anipik Anipik merged commit a86e825 into dotnet:release/3.1 Feb 13, 2020
@CarolEidt CarolEidt deleted the Port1241to3.1 branch February 13, 2020 22:28
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-CodeGen Servicing-approved Approved for servicing release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants