RFR: 8365400: enhance JFR to emit file and module metadata for class loading
Leonid Mesnik
lmesnik at openjdk.org
Mon Oct 6 18:39:50 UTC 2025
On Mon, 6 Oct 2025 18:15:51 GMT, Larry Cable <duke at openjdk.org> wrote:
> while existing class loading JFR events exist, none of these provide the path (if available) from which a class is loaded/defined, nor are they easily modified to do so from a compatibility standpoint.
>
> therefore this ER/PR adds a simple JFR event that encapsulates a tuple of class and path that can be enabled in order to provide an audit/debug trail of locations (path, if available) from which a particular class is loaded/defined.
>
> this association can be used for various "applications" such as basic auditing etc
Can you please a new test for the added functionality?
-------------
PR Comment: https://git.openjdk.org/jdk/pull/27656#issuecomment-3373312592
More information about the security-dev
mailing list