JFR Event to Detect Invocations of Deprecated Methods


In JDK 22, an event was added to JFR to detect invocations of deprecated methods. The main use case is to determine whether a third-party library depends on methods that are going to be removed, for example, methods related to the Security Manager.

More at https://egahlin.github.io/2024/05/31/deprecated-event.html