Skip to content

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Sep 9, 2021

Backport of #58771 to release/6.0

/cc @kunalspathak

Customer Impact

If there is an infinite loop inside finally, we will not cleanly remove the unreachable blocks inside finally clause.

Testing

The change was locally tested. I didn't add explicit test because the repro needed an infinite loop.

Risk

Low - The change will conservatively skip removing a non-empty finally clause.

@ghost ghost added the area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI label Sep 9, 2021
@ghost
Copy link

ghost commented Sep 9, 2021

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

Issue Details

Backport of #58771 to release/6.0

/cc @kunalspathak

Customer Impact

Testing

Risk

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

area-CodeGen-coreclr

Milestone: -

@JulieLeeMSFT
Copy link
Member

CC @jeffschwMSFT for 6.0 backport.

@jeffschwMSFT
Copy link
Member

Please fill in the customer impact and request a code review.

@kunalspathak
Copy link
Contributor

@AndyAyersMS , @dotnet/jit-contrib

@AndyAyersMS
Copy link
Member

Did you look at what happens in release if we don't fix this issue?

@kunalspathak
Copy link
Contributor

Did you look at what happens in release if we don't fix this issue?

In release it works as expected, but it wrongly sets the bbRefs to UINT_MAX (since bbRefs == 0 and we do bbRefs--) which I feel little dangerous and worth fixing in .NET 6. Let me know if you think otherwise.

@AndyAyersMS
Copy link
Member

I agree this is very low risk, so I'm ok with us porting it.

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.

@jeffschwMSFT jeffschwMSFT merged commit 669ebb4 into release/6.0 Sep 10, 2021
@jkotas jkotas deleted the backport/pr-58771-to-release/6.0 branch September 18, 2021 04:08
@ghost ghost locked as resolved and limited conversation to collaborators Nov 3, 2021
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.

4 participants