RFR: 8254711: Add java.security.Provider.getService JFR Event

Erik Gahlin egahlin at openjdk.org
Mon Sep 19 13:45:09 UTC 2022

On Wed, 27 Jul 2022 13:14:39 GMT, Sean Coffey <coffeys at openjdk.org> wrote:

> Add a JFR Event for `java.security.Provider.getService(String type, String algorithm)` calls.

I noticed that the event is disabled by default.

Is it because of concerns of too many events, or too much overhead? Or something else?

I think we should strive to have events always on. Few users will take the time to learn about the event and enable it. Usage will probably drop by 99%, if not enabled by default.

If concerns are performance related, there might be other event designs that could be used, for example, a periodic event that is always enabled.


PR: https://git.openjdk.org/jdk/pull/9657

More information about the security-dev mailing list