Tuesday, November 7, 2023

Show HN: Javaflame – Simple Flamegraph for your Java application https://ift.tt/Kw1kPQT

Show HN: Javaflame – Simple Flamegraph for your Java application Javaflame will generate a flamegraph of your application function calls, including the argument values and the return of each function. Check https://ift.tt/fCNxtkX 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. https://ift.tt/4Mewv0K November 8, 2023 at 04:39AM

No comments:

Show HN: Tablr – Supabase with AI Features https://ift.tt/ltABMro

Show HN: Tablr – Supabase with AI Features https://www.tablr.dev/ June 30, 2025 at 04:35AM