[lworld] Integrated: 8360530: [lworld] CDS does not preload classes listed in the LoadableDescriptors attribute

Matias Saavedra Silva matsaave at openjdk.org
Thu Jun 26 20:54:48 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.

This pull request has now been integrated.

Changeset: 051283b6
Author:    Matias Saavedra Silva <matsaave at openjdk.org>
URL:       https://git.openjdk.org/valhalla/commit/051283b610d1b49446bb3838e7c4c9d87c8616cd
Stats:     53 lines in 3 files changed: 50 ins; 0 del; 3 mod

8360530: [lworld] CDS does not preload classes listed in the LoadableDescriptors attribute

Reviewed-by: fparain, liach

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

PR: https://git.openjdk.org/valhalla/pull/1492


More information about the valhalla-dev mailing list