仓库指标
- Star
- (23,826 star)
- PR 合并指标
- (平均合并 16小时 24分钟) (30 天内合并 99 个 PR)
描述
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.