On Fri, 21 Nov 2025 18:49:25 GMT, Matias Saavedra Silva <[email protected]> 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 <[email protected]> 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
