The motivation behind JFR
Vaults at banks are created with near zero defects, but they aren't invincible. Imagine what happens after the vault of a bank is broken. One of the steps might include scanning the security camera footage—to check when and how the theft happened. This can lead to varied results—from determining the cause of fixing the issues and formulating measures to prevent it from happening in the future.
Similarly, you can never foresee all the challenges with your application in production. A profiler, such as JFR, helps you to record the events when your application is executing. When your application crashes or doesn't perform as expected, you can monitor or troubleshoot it, using the data collected by the profiler. This ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access