mirror of
https://github.com/VSadov/Satori.git
synced 2025-06-08 11:37:04 +09:00
![]() * Make JitDump label output multi-thread safe `s_compMethodsCount` is a static variable and incrementing it when two JITs are running at the same time can result in inconsistent labels. This PR fixes it by adding an instance variable `compMethodID` on `Compiler` object and setting it to the value of `s_compMethodsCount` after incrementing it using `InterlockedIncrement()`. Changed the type of `s_compMethodID` to `LONG` to match the signature of `InterlockedIncrement()` and made it private. Fixes #10984 |
||
---|---|---|
.. | ||
coreclr | ||
libraries |