New Show Hacker News story: Show HN: Javaflame – Simple Flamegraph for your Java application

Show HN: Javaflame – Simple Flamegraph for your Java application
4 by beothorn | 0 comments on Hacker News.
Javaflame will generate a flamegraph of your application function calls, including the argument values and the return of each function. Check https://ift.tt/3tak64n to see an example. There are already some tools that render flamegraphs for java, but they are focused on measuring performance or require some other process running along with the application. They also record function calls, but do not record the arguments or return values from those functions. I needed instead something to help understand and debug my applications that was better than adding breakpoints and slowly step over every call. This is a simple java agent that renders a flamegraph on a html file, no extra dependencies or other processes involved. All you need is an extra argument passed to the JVM on the command line pointing to the java agent. It calls toString on every parameter and return value of every function that is included on the filter, so I wouldn't use this outside your dev machine.

Comments

Popular posts from this blog

New Show Hacker News story: Show HN: Natural language Twitter search using Codex

Internet Download Manager Universal Crack is Here ! [IDM 6.25 Build 10 UPDATED]

New Show Hacker News story: Show HN: Movis – A Video Editing Library in Python