randall77 / heapdump14

Heap dump reader & visualizer for Go 1.4
The Unlicense
46 stars 16 forks source link

Trouble with heap dump 1.7 #6

Open rvansa opened 5 years ago

rvansa commented 5 years ago

Hi, I am trying to display a 1.7 heap dump using this tool. After some workarounds and fixes, I am struggling to get the types correctly named from the dwarf format.

One thing I don't understand is that the dump contains itabs for packages, e.g. net/http.. These are always single pointer and have the interfaceptr set to true. What are those for? There's no match in dwarf symbols.

I am having further issues with the 1.7 format since the iface/eface info is not present anymore, working on that.

balta2ar commented 4 years ago

@rvansa FYI https://github.com/randall77/hprof/pull/6

rvansa commented 4 years ago

@balta2ar Thanks, I think I've seen that before. I had 1.7 mostly working: https://github.com/rvansa/heapdump14