On Wed, 11 Feb 2026 17:03:35 GMT, Matias Saavedra Silva <[email protected]> 
wrote:

> With CDS and AOT now fully supported in lworld, we need better test coverage 
> to ensure that flat arrays are archived correctly. This patch adds a test to 
> check that an array of both a migrate value class and a flattenable user 
> defined value class can be archived and restored correctly in a static CDS 
> dump. 
> 
> During the process it was discovered that the object subgraph was overlooking 
> the element class of flat arrays, so proper handling was added courtesy of 
> @iklam.
> 
> Verified with tier 1-5 tests.

This pull request has now been integrated.

Changeset: aae04380
Author:    Matias Saavedra Silva <[email protected]>
URL:       
https://git.openjdk.org/valhalla/commit/aae04380447dc13696d2b8a38e2d7dc67874bd6d
Stats:     206 lines in 4 files changed: 205 ins; 1 del; 0 mod

8354529: [lworld] Add tests for flat arrays in CDS archive

Co-authored-by: Ioi Lam <[email protected]>
Reviewed-by: iklam, phubner

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

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

Reply via email to