Skip to content

ILC race condition can result in duplicate warnings #119155

@sbomer

Description

@sbomer

While debugging a testcase I saw that sometimes duplicate IL2041 warnings were emitted. I believe this is because they are logged inside of CreateValueFromKey of a LockFreeReaderHashtable. As far as I understand, CreateValueFromKey may be called in parallel if the hashtable is being populated from multiple readers, so should not have side-effects.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    No status

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions