-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[cdac] add v2 ExecutionManager contract for NibbleMap change #1
base: nibble-optimize
Are you sure you want to change the base?
Conversation
...gnostics.DataContractReader.Contracts/Contracts/ExecutionManager/Helpers/NibbleMapHelpers.cs
Outdated
Show resolved
Hide resolved
...gnostics.DataContractReader.Contracts/Contracts/ExecutionManager/Helpers/NibbleMapHelpers.cs
Outdated
Show resolved
Hide resolved
...gnostics.DataContractReader.Contracts/Contracts/ExecutionManager/Helpers/NibbleMapHelpers.cs
Outdated
Show resolved
Hide resolved
...gnostics.DataContractReader.Contracts/Contracts/ExecutionManager/Helpers/NibbleMapHelpers.cs
Outdated
Show resolved
Hide resolved
...gnostics.DataContractReader.Contracts/Contracts/ExecutionManager/Helpers/NibbleMapHelpers.cs
Outdated
Show resolved
Hide resolved
src/native/managed/cdacreader/tests/ExecutionManagerTests/NibbleMapTestBuilder.cs
Outdated
Show resolved
Hide resolved
src/native/managed/cdacreader/tests/ExecutionManagerTests/NibbleMapTestBuilder.cs
Outdated
Show resolved
Hide resolved
src/native/managed/cdacreader/tests/ExecutionManagerTests/NibbleMapTestBuilder.cs
Outdated
Show resolved
Hide resolved
src/native/managed/cdacreader/tests/ExecutionManagerTests/NibbleMapTestBuilder.cs
Outdated
Show resolved
Hide resolved
src/native/managed/cdacreader/tests/ExecutionManagerTests/NibbleMapTestBuilder.cs
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Were you also able to test out the E2E combined with your runtime nibble map change? Well, the part of the E2E that we have working - for JIT-ed methods, the method names should display correctly for something like !clrstack
(should go through the ExecutionManager and the nibble map in order to get the method corresponding to the IPs).
src/native/managed/cdacreader/tests/ExecutionManagerTests/ExecutionManagerTests.cs
Outdated
Show resolved
Hide resolved
...ft.Diagnostics.DataContractReader.Contracts/Contracts/ExecutionManager/ExecutionManager_1.cs
Outdated
Show resolved
Hide resolved
...ft.Diagnostics.DataContractReader.Contracts/Contracts/ExecutionManager/ExecutionManager_2.cs
Outdated
Show resolved
Hide resolved
...t.Diagnostics.DataContractReader.Contracts/Contracts/ExecutionManager/Helpers/NibbleMap_2.cs
Outdated
Show resolved
Hide resolved
|
||
namespace Microsoft.Diagnostics.DataContractReader.ExecutionManagerHelpers; | ||
|
||
// CoreCLR nibblemap with O(1) lookup time. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Update docs/design/datacontracts/ExecutionManager.md to add version 2 with information about this nibble map?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added some docs and an example. I'm not sure the best way to add docs for the second version. I added a section below explaining the differences and the new algorithm.
...agnostics.DataContractReader.Contracts/Contracts/ExecutionManager/ExecutionManagerFactory.cs
Outdated
Show resolved
Hide resolved
Yes, I used WinDbg and debugged that with VS to verify that |
Depends on: dotnet#108939
Changes
ExecutionManager
contract version to2
ExecutionManager_1
toExecutionManagerBase
ExecutionManager_2