Skip to content

Conversation

@jakobbotsch
Copy link
Member

Fix #77971

* Add thread local to skip textual PGO data if invoked recursively
* Change AssemblyNameParser.ParseVersion to pass
  NumberFormatInfo.InvariantInfo in its ushort.TryParse invocation.
  This avoids initializing globalization from within this parsing, which
  was causing problems in the textual PGO scenario.

Fix dotnet#77971
@ghost ghost added the area-VM-coreclr label Nov 8, 2022
@jakobbotsch
Copy link
Member Author

Failure is #77802 according to build analysis

@jakobbotsch jakobbotsch merged commit 29a2bc5 into dotnet:main Nov 11, 2022
@jakobbotsch jakobbotsch deleted the fix-recursive-assembly-spec-parsing branch November 11, 2022 21:12
@ghost ghost locked as resolved and limited conversation to collaborators Dec 12, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Recursive assembly spec parsing with textual PGO

2 participants