[lworld] RFR: 8360530: [lworld] CDS does not preload classes listed in the LoadableDescriptors attribute
Frederic Parain
fparain at openjdk.org
Wed Jun 25 19:15:35 UTC 2025
On Wed, 25 Jun 2025 15:52:49 GMT, Matias Saavedra Silva <matsaave at openjdk.org> wrote:
> When a class is loaded, it's loadable descriptors attribute is parsed and the VM attempts to load any classes referred to in the attribute so long as the attribute is associated with a non-static field. A class loaded from the CDS archive should do the same, and this patch corrects the parsing of the descriptors to accomplish this. It also includes additional logging in the same style used when parsing the attribute without CDS. Verified with tier 1-5 tests.
LGTM.
Thank you for the additional log messages.
-------------
Marked as reviewed by fparain (Committer).
PR Review: https://git.openjdk.org/valhalla/pull/1492#pullrequestreview-2959361250
More information about the valhalla-dev
mailing list