On Mon, 11 May 2026 13:58:32 GMT, David Simms <[email protected]> wrote:

> This pull request implements the first [preview](https://openjdk.org/jeps/12) 
> of [JEP 401: Value Objects (Preview)](https://openjdk.org/jeps/401). This 
> pull request also includes the implementation of [JEP 539: Strict Field 
> Initialization in the JVM (Preview)](https://openjdk.org/jeps/539). That work 
> was implemented in the same code base because JEP 401 depends on strict field 
> initialization.
> 
> Sub-reviews, for spreading review debates are here:
> 
> - [JDK-8317277](https://bugs.openjdk.org/browse/JDK-8317277): Java language 
> implementation of value objects
>   - https://github.com/openjdk/jdk/pull/31121
> - [JDK-8317278](https://bugs.openjdk.org/browse/JDK-8317278): JVM 
> implementation of value objects
>   - https://github.com/openjdk/jdk/pull/31122
> - [JDK-8317279](https://bugs.openjdk.org/browse/JDK-8317279): Standard 
> library implementation of value objects
>   - https://github.com/openjdk/jdk/pull/31123
> 
> This is the "*master pull request*" for the initial preview of [JEP 
> 401](https://openjdk.org/jeps/401). Comments and review for a change this 
> large will not scale well in a single pull request. This pull request serves 
> as the vehicle for sign-off and integration into 
> [`jdk/master`](https://github.com/openjdk/jdk). **Review comments should be 
> directed to the appropriate "*sub-review pull request*" listed above.**
> 
> 
>> [!NOTE]
>> The "*sub-review pull requests*" contain the same full set of code changes 
>> as this "*master pull request*" to preserve the full implementation context; 
>> the language compiler, JVM, and standard library changes are intertwined. 
>> The separate pull requests exist only to subdivide the review and related 
>> discussion by area.
> 
> Any resulting code changes should be made in 
> [`valhalla/lworld`](https://github.com/openjdk/valhalla/).
> 
> `valhalla/lworld` is currently updated from `jdk/master` whenever a weekly 
> [`jdk` tag](https://github.com/openjdk/jdk/tags) is created. At that time, 
> code changes from `valhalla/lworld` will be propagated to this pull request 
> and to all sub-review pull requests.
> 
> Ultimately, review sign-off will be recorded on this "*master pull request*", 
> and the "*sub-review pull requests*" will be closed without integration.
> 
> This pull request has a large surface area and frequently conflicts with 
> `jdk/master`. Refer to 
> [`valhalla/lworld`](https://github.com/openjdk/valhalla/) for the latest 
> state of the project code, keeping in mind that it may lag several days 
> behind `jdk/master`. Both repositories may be needed as references during 
> review....

This pull request has now been integrated.

Changeset: cc278dbb
Author:    David Simms <[email protected]>
Committer: Daniel D. Daugherty <[email protected]>
URL:       
https://git.openjdk.org/jdk/commit/cc278dbb8a1ca0754d5842708b9029441055d361
Stats:     211816 lines in 1890 files changed: 198603 ins; 3754 del; 9459 mod

8389219: Implement JEP 401: Value Objects (Preview)
8389220: Implement JEP 539: Strict Field Initialization in the JVM (Preview)

Co-authored-by: David Simms <[email protected]>
Co-authored-by: Dan Smith <[email protected]>
Co-authored-by: Frederic Parain <[email protected]>
Co-authored-by: Tobias Hartmann <[email protected]>
Co-authored-by: Roger Riggs <[email protected]>
Co-authored-by: Vicente Romero <[email protected]>
Co-authored-by: Axel Boldt-Christmas <[email protected]>
Co-authored-by: Karen Kinnear <[email protected]>
Co-authored-by: Alex Menkov <[email protected]>
Co-authored-by: Bill Huang <[email protected]>
Co-authored-by: Benoît Maillard <[email protected]>
Co-authored-by: Christian Hagedorn <[email protected]>
Co-authored-by: Chris Plummer <[email protected]>
Co-authored-by: Casper Norrbin <[email protected]>
Co-authored-by: Coleen Phillimore <[email protected]>
Co-authored-by: David Beaumont <[email protected]>
Co-authored-by: Daniel D. Daugherty <[email protected]>
Co-authored-by: Damon Fenacci <[email protected]>
Co-authored-by: David Holmes <[email protected]>
Co-authored-by: Dmitry Samersoff <[email protected]>
Co-authored-by: Eric Caspole <[email protected]>
Co-authored-by: Evgeny Nikitin <[email protected]>
Co-authored-by: Ekaterina Pavlova <[email protected]>
Co-authored-by: Fei Yang <[email protected]>
Co-authored-by: Dan Heidinga <[email protected]>
Co-authored-by: Harold Seigel <[email protected]>
Co-authored-by: Ioi Lam <[email protected]>
Co-authored-by: Ivan Walulya <[email protected]>
Co-authored-by: Jatin Bhateja <[email protected]>
Co-authored-by: Jan Lahoda <[email protected]>
Co-authored-by: Jim Laskey <[email protected]>
Co-authored-by: John R Rose <[email protected]>
Co-authored-by: Joel Sikström <[email protected]>
Co-authored-by: Lois Foltan <[email protected]>
Co-authored-by: Chen Liang <[email protected]>
Co-authored-by: Leonid Mesnik <[email protected]>
Co-authored-by: Matias Saavedra Silva <[email protected]>
Co-authored-by: Marc Chevalier <[email protected]>
Co-authored-by: Mandy Chung <[email protected]>
Co-authored-by: Maurizio Cimadamore <[email protected]>
Co-authored-by: Markus Grönlund <[email protected]>
Co-authored-by: Manuel Hässig <[email protected]>
Co-authored-by: Nick Gasson <[email protected]>
Co-authored-by: Patricio Chilano Mateo <[email protected]>
Co-authored-by: Paul Hübner <[email protected]>
Co-authored-by: Paul Sandoz <[email protected]>
Co-authored-by: Quan Anh Mai <[email protected]>
Co-authored-by: Roberto Castañeda Lozano <[email protected]>
Co-authored-by: Roland Westrelin <[email protected]>
Co-authored-by: Srikanth Adayapalam <[email protected]>
Co-authored-by: Aleksey Shipilev <[email protected]>
Co-authored-by: Stefan Johansson <[email protected]>
Co-authored-by: Sergey Kuksenko <[email protected]>
Co-authored-by: Serguei Spitsyn <[email protected]>
Co-authored-by: Stefan Karlsson <[email protected]>
Co-authored-by: Thomas Stuefe <[email protected]>
Co-authored-by: Thomas Schatzl <[email protected]>
Co-authored-by: Zoltan Majo <[email protected]>
Co-authored-by: Alan Bateman <[email protected]>
Co-authored-by: Jaikiran Pai <[email protected]>
Co-authored-by: Martin Doerr <[email protected]>
Co-authored-by: Richard Reingruber <[email protected]>
Co-authored-by: Feilong Jiang <[email protected]>
Co-authored-by: Daisuke Yamazaki <[email protected]>
Reviewed-by: mcimadamore, liach, darcy, dcubed, aboldtch, coleenp, iklam, 
jlahoda, dlong, jpai, vklang, heidinga, sspitsyn, cjplummer

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

PR: https://git.openjdk.org/jdk/pull/31120

Reply via email to