Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@UnityAlex
Copy link
Collaborator

  • [mini] Don't wait for other threads to finish JITing if the current thread is running a cctor.

This eliminates a possible source of deadlocks found during AOT runs of Roslyn.

  • [mini] Introduce a 1s timeout to JIT job control to ensure we don't simply deadlock in case of execution dependency bugs.

  • [mini] fix spelling5DD

Heard from customer that the fix from upstream has eliminated the hang that they were experiencing.

  • Should this pull request have release notes?
    • Yes
    • No
  • Do these changes need to be back ported?
    • Yes
    • No
  • Do these changes need to be upstreamed to mono/mono or dotnet/runtime repositories?
    • Yes
    • No

Reviewers: please consider these questions as well! ❤️

Release notes

Fixed case 1341730 @UnityAlex :
Mono: Fixed rare hang that would occur when opening the editor during asset import.

Backports
2019.4

* [mini] Don't wait for other threads to finish JITing if the current thread is running a cctor.

This eliminates a possible source of deadlocks found during AOT runs of Roslyn.

* [mini] Introduce a 1s timeout to JIT job control to ensure we don't simply deadlock in case of execution dependency bugs.

* [mini] fix spelling5DD
@UnityAlex UnityAlex requested a review from joncham October 26, 2021 14:30
@unity-cla-assistant
Copy link
Collaborator

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@UnityAlex UnityAlex merged commit 39deeaf into unity-2020.3-mbe Oct 26, 2021
@UnityAlex UnityAlex deleted the unity-2020.3-mbe-1341730-blindfix branch October 26, 2021 15:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants