Skip to content

regression in thread-safety with data-race on mi->inInference field #53433

Closed

Description

The changes in #53219 appears to have introduced a datarace on the mi->inInference field, which seems likely to lead to incorrect compilation and bad performance of threaded code. It was previously protected by the codegen lock.

Originally posted by @vtjnash in #53219 (comment)

Posting as an issue since the PR is already merged, and this is a regression in thread-safety

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    compiler:codegenGeneration of LLVM IR and native codemultithreadingBase.Threads and related functionalityregressionRegression in behavior compared to a previous version

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions