visualvm icon indicating copy to clipboard operation
visualvm copied to clipboard

Show children tree in "Hot Spots" View

Open jukzi opened this issue 4 years ago • 0 comments

We often have same method "f()" at various locations in the "Forward calls" view. Example calltree: X.methodX() -> F.f() -> Y.methodY() ----> F.f() ----> Z.methodZ() ------> F.f()

The Hot Spot View currently show the Total Time of of all F.f(x) calls Thats good. But i also would like to know the accumulated total time of each children of f(x). assume F.f() calls F.y() and F.z() it would be of much help to see a tree in the "Hot Spots" View like

F.f() --> F.y() --> F.z()

i.e. the Hot Spot View should be like the Forward Calls but with all distinct methods as root items (instead of Threads) If any method is called recursive the view should stop at the selfrecursion. For example assume F.z() calls F.f() the view should look like

F.f() --> F.y() --> F.z() -----> [selfrecursion] F.f() possibly with a neat icon for [selfrecursion]

jukzi avatar Sep 20 '21 07:09 jukzi