[lworld] Integrated: 8370904: [lworld] Enable CDS heap dumping
Matias Saavedra Silva
matsaave at openjdk.org
Wed Dec 17 19:22:43 UTC 2025
On Fri, 21 Nov 2025 18:49:25 GMT, Matias Saavedra Silva <matsaave at openjdk.org> wrote:
> CDS heap dumping was manually disabled in lworld due to the method in which the migrated value classes were added to the JDK. Migrated value classes were added through module patching which is incompatible with CDS heap dumping, but now since they are added through jimage, we can re-enable CDS heap dumping and related features that rely on it.
>
> AOT adds some complexity to this as it loads and links classes in VM startup, so alternate code paths need to be considered. Signature calling conventions are stored in adapters which are archived in the AOT code cache, but they aren't usable at runtime, so they need to be regenerated even if we don't regenerate the adapters.
This pull request has now been integrated.
Changeset: 9eead93b
Author: Matias Saavedra Silva <matsaave at openjdk.org>
URL: https://git.openjdk.org/valhalla/commit/9eead93b026ccf011cc9cdda8abe5b02dab86ed0
Stats: 70 lines in 9 files changed: 37 ins; 29 del; 4 mod
8370904: [lworld] Enable CDS heap dumping
Reviewed-by: coleenp, fparain
-------------
PR: https://git.openjdk.org/valhalla/pull/1757
More information about the valhalla-dev
mailing list