More granular heap information #13241
Labels
enhancement
good first issue
heap
Parsing memory heap structures
Windows
Microsoft Windows platform support issues
Projects
Is your feature request related to a problem? Please describe.
Describe the solution you'd like
Basically, it would be very helpful to have extra information (perhaps a different heap command) to show the heap layout. While there exists
dmh
,dmhg
,dmhm
, they show the chunks but not what bins they belong to and their linked order.An example of how I'd like to be able to see it was implemented in ruby by david942j: https://github.com/david942j/heapinfo
Check out what it looks like in his
h.layouts
commands. They clearly show the layout of each bin including some details about the chunks inside the bin.Describe alternatives you've considered
As mentioned above, there is a ruby script that does this as an alternative.
Additional context
While the ruby example does it linearly, it could also be interesting to see it utilizing graph
dmhg
of some sort too.The text was updated successfully, but these errors were encountered: