1
0
Fork 0
mirror of https://github.com/VSadov/Satori.git synced 2025-06-08 11:37:04 +09:00
Satori/docs/workflow/debugging
Kunal Pathak d76ef042f8
Make JitDump label output multi-thread safe (#32578)
* 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
2020-02-27 09:19:23 -08:00
..
coreclr Make JitDump label output multi-thread safe (#32578) 2020-02-27 09:19:23 -08:00
libraries updating docs and removing BuildConfiguration and ConfigurationGroup (#32062) 2020-02-20 14:39:38 -08:00