-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
[Pinned Object Heap] DacpAllocData
needs to support Pinned Object Heap
#13735
Comments
Tagging subscribers to this area: @tommcdon |
@VSadov do you plan on addressing this issue in the Net 5.0 timeframe? |
Yes, the plan is to address this for 5.0 |
DacpAllocData is currently unused in SOS, to determine alloc data SOS scans the GC heap and does not rely on the runtime to report it (see https://github.com/dotnet/diagnostics/blob/b27e6ad70f01ff638eef02dac50de4bebfcaa40e/src/SOS/Strike/eeheap.cpp#L768-L850). @leculver or @noahfalk do you know of any use for DacpAllocData/DacpGenerationAllocData/ISOSDacInterface::GetHeapAllocData? I suspect these are unused and do not need updating. |
I'm not aware of any specific usage and I think its fine to consider it unused. |
Thanks Noah. Closing this issue out and leaving the API as-is. If anyone knows of a use, feel free to reopen. |
Sorry my internet has been really spotty all day. @davmason I can confirm that ClrMD doesn't use that structure, and doesn't call "GetThreadAllocData" which is the only function that uses it. |
DacpAllocData
has a field for allocated LOH bytes.It needs to handle POH somehow - include it in the number or have a separate field.
The text was updated successfully, but these errors were encountered: