[crac] RFR: 8349365: [CRaC] Handle javaagent adding jars to boostrap/system classpath [v2]

Radim Vansa rvansa at openjdk.org
Thu Feb 6 16:29:52 UTC 2025


On Thu, 6 Feb 2025 14:29:35 GMT, Timofei Pushkin <tpushkin at openjdk.org> wrote:

>> That's correct; I wanted to report all FDs 'owned' by `ClassLoader` so that we don't add another method or rename it when we bump into another use-case that's broken.
>
> I mean, currently it does not always report all FDs, only if CDS is included, so the name is somewhat misleading

It reports the FDs from boot append entries, and the `_app_classpath_entries` when CDS is enabled. If CDS is not enabled, the `_app_classpath_entries` is empty, hence it still reports all FDs.

-------------

PR Review Comment: https://git.openjdk.org/crac/pull/201#discussion_r1945042355


More information about the crac-dev mailing list