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

[release/7.0-preview5] Make gcunsafe for cpblk if it has gc pointers #70069

Merged

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Jun 1, 2022

Backport of #70053 to release/7.0-preview5

/cc @kunalspathak

Customer Impact

There was a bug where we would not mark a region as non-interruptible because it created references in registers that were not reported to GC. As such, if the GC kicks in, it will sporadically move non-GC pointers leading to crash or wrong behavior of the program.

Testing

Existing test coverage.

Risk

The bug was introduced with one of the refactoring changes and this PR just puts back those changes that were missed out.

@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 Jun 1, 2022
@ghost
Copy link

ghost commented Jun 1, 2022

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

Issue Details

Backport of #70053 to release/7.0-preview5

/cc @kunalspathak

Customer Impact

Testing

Risk

IMPORTANT: If this change touches code that ships in a NuGet package, please make certain that you have added any necessary package authoring and gotten it explicitly reviewed.

Author: github-actions[bot]
Assignees: -
Labels:

area-CodeGen-coreclr

Milestone: -

@kunalspathak
Copy link
Member

Failures are related to #68837

@kunalspathak
Copy link
Member

@dotnet/jit-contrib

@JulieLeeMSFT JulieLeeMSFT added this to the 7.0.0 milestone Jun 1, 2022
@carlossanlop carlossanlop added the Servicing-consider Issue for next servicing release review label Jun 1, 2022
@JulieLeeMSFT
Copy link
Member

cc @jeffschwMSFT for servicing to PR5.

Copy link
Member

@jeffschwMSFT jeffschwMSFT left a comment

Choose a reason for hiding this comment

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

Approved. We should take for consideration in preview 5.

@carlossanlop carlossanlop added Servicing-approved Approved for servicing release and removed Servicing-consider Issue for next servicing release review labels Jun 1, 2022
@carlossanlop
Copy link
Member

Approved by Tactics via email.

@carlossanlop carlossanlop merged commit d9675d1 into release/7.0-preview5 Jun 1, 2022
@carlossanlop carlossanlop deleted the backport/pr-70053-to-release/7.0-preview5 branch June 1, 2022 22:51
@ghost ghost locked as resolved and limited conversation to collaborators Jul 2, 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 Servicing-approved Approved for servicing release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants