On Sun, 1 Jun 2025 21:46:23 GMT, Erik Gahlin <egahlin@openjdk.org> wrote:
I think it can be useful if a contextual GUI is created where users can drill down into tables and see all events that occur during a method call. For example, if you want to troubleshoot a slow login:
``` $ java -XX:StartFlightRecording:method-trace=LoginService::login ... ```
Context Types Order::id **MethodTrace::method** (selected) Trace::id Trace::name Start Time Duration Context Values 20:05:02.10 5.0 s **LoginService::login(String, String)** (selected) 20:05:08.10 80 ms **LoginService::login(String, String)** 20:05:10.10 75 ms **LoginService::login(String, String)** Start Time Event Name Duration 20:05:02.45 Java Monitor Enter 25 ms 20:05:03.12 JDBC Execute Query 4.7 s
or some other known aspect of the program that has been problematic in the past and now have been annotated, for example:
``` $ java -XX:StartFlightRecording:method-trace=@com.example.UpdateOrder ... ```
I could not agree more. A GUI picking up these innovations, making them conveniently accessible and easily understandable to the end user would be fantastic. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/25249#discussion_r2120658143