Project Valhalla is an experimental OpenJDK project to develop major new language features for Java 10 and beyond. The project was announced in July 2014 and is an experimental effort by Oracle, led by engineer Brian Goetz.[1]
Valhalla is incubating Java language features and enhancements in these areas:[2]
List<int>
for example.These features will require both syntax and VM-level changes.
The project is organized on the OpenJDK 'Project Valhalla' mailing list. Project Valhalla has begun in the experimental stages, with an inaugural announcement & early draft initial proposals.
Published as of January 2022:
Experimental OpenJDK prototypes can also be built from the Mercurial repositories. These are starting to incorporate many specialization features. Note that these are Gnu Make/ C++ sources, and building the OpenJDK requires technical expertise. See OpenJDK build instructions for details.
The project is organized into several JEPs (JDK Enhancement Proposals):
Value classes are reference types, in the same way as all existing Java classes. However, they give up the ability to have identity. This means that the