RFR: 8292177: InitialSecurityProperty JFR event [v2]
Sean Mullan
mullan at openjdk.org
Wed Sep 28 16:36:15 UTC 2022
On Wed, 28 Sep 2022 12:52:02 GMT, Sean Coffey <coffeys at openjdk.org> wrote:
>> Ok, just so I understand, you want to make sure that if JFR is started after the security properties have already been read, then they are still recorded, right?
>
> Correct - this type of event period (beginChunk) will fire once when the JFR recording is begun. It should capture Security Properties (if java.security.Security is loaded) for any recording, no matter when it might begin or end. Similar to how InitialSystemProperty is captured (but that's implemented at native/VM level)
How does it capture the event if JFR was started before the security properties were read? I would think you still need some additional code in Security.java to record the properties if the event is enabled.
-------------
PR: https://git.openjdk.org/jdk/pull/10394
More information about the security-dev
mailing list