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

Port of dotnet/runtime#1059 to 3.1 branch #27986

Merged
merged 1 commit into from
Feb 13, 2020

Conversation

CarolEidt
Copy link

@CarolEidt CarolEidt commented Jan 10, 2020

This is the fix for #27924. This is a GC hole bug that was found externally, #27590.
The cause is that the JIT was using the target type of the subtract when it needed
to make a copy of the source, but it needs to use the source type.

Customer Impact

Corruption of state that is non-deterministic and hard to track down.

Regression?

Not a recent regression, but exposed by Unsafe.ByteOffset.

Testing

The fix has been verified in the runtime repo.

Risk

Low: The fix is straightfoward and only impacts 3 lines of code.

Code Reviewer

@jaschook and @jkotas

This is the fix for #27924. This is a GC hole bug that was found externally, #27590.
The cause is that the JIT was using the target type of the subtract when it needed
to make a copy of the source, but it needs to use the source type.

## Customer Impact
Corruption of state that is non-deterministic and hard to track down.

## Regression?
Not a recent regression, but exposed by Unsafe.ByteOffset.

## Testing
The fix has been verified in the runtime repo.

## Risk
Low: The fix is straightfoward and only impacts 3 lines of code.
@wtgodbe
Copy link
Member

wtgodbe commented Jan 17, 2020

Is this for 3.1.3? CC @jeffschwMSFT

@MeiChin-Tsai
Copy link

It has to be 3.1.3. Miss the 3.1.2 window already.

@MeiChin-Tsai
Copy link

Please add code reviewer.

@CarolEidt
Copy link
Author

Please add code reviewer.

Added above

@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

Approved for .NET Runtime

@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 efcf98f into dotnet:release/3.1 Feb 13, 2020
@CarolEidt CarolEidt deleted the Port1059to3.1 branch February 13, 2020 22:29
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.

6 participants