Goetz Updates OpenJDK With Valhalla Progress
Written by Kay Ewbank   
Friday, 20 December 2019

The OpenJDK mailing list has been given an update on the progress of Project Valhalla, the OpenJDK project designed to "explore and incubate" advanced Java VM and language feature candidates such as value types and generic specialization.

Brian Goetz, Oracle's Java language architect, provided the update in a post to the OpenJDK mailing list giving details on progress so far. Valhalla started back in 2014, and in the intervending five years Goetz has overseen a number of prototypes to explore options.

corretto

In his post, Goetz said:

"We believe we are now at the point where we have a clear and coherent path to enhance the Java language and virtual machine with value types, have them interoperate cleanly with existing generics, and have a compatible path for migrating our existing value-based classes to inline classes and our existing generic classes to specialized generics."

The core feature that is of interest to the Valhalla group is inline types, but as Goetz says:

"such a fundamental perturbation of the JVM type system brings with it a host of other features and challenges, such as specialized generics, as well as tools for enabling compatible migration of existing APIs to inline types and specialized generics."

The most recent prototype of Valhalla, dubbed “L World” (because inline classes can share the L carrier with object references,managed to unify references and inlines under one set of type descriptors, bytecodes, and types, without significant compromises. This is what has led to Goetz's statement about having a clear and coherent path to enhance the Java language and virtual machine with value types.

Goetz says the goal is to:

"Give developers the control to match data layouts with the performance model of today's hardware, providing Java developers with an easier path to flat (cache-efficient) and dense (memory-efficient) data layouts without compromising abstraction or type safety."

The post provides a full update on Valhalla, including links to other documents and some nice diagrams.

corretto

 

More Information

Project Valhalla Update

Related Articles

Red Hat Takes Over OpenJDK Maintenance

JDK 12 Feature Set Frozen

Oracle Launches Subscription Java SE Service

Oracle Says Drop Nashorn From JDKs

Oracle Holds On To Java EE Brand 

JDK 10 Released

JavaFX Will Be Removed From JDK

Oracle Promises To Open Source Oracle JDK And Improve Java EE

Java EE Moving To Eclipse

Java EE To Get Open Source Foundation

Java Guardians To The Rescue Of Java EE

Oracle Closing Javanet

Java Guru Quits Oracle 

To be informed about new articles on I Programmer, sign up for our weekly newsletter, subscribe to the RSS feed and follow us on Twitter, Facebook or Linkedin.

Banner


Quantum Computers Really Are A One Trick Pony
17/03/2024

Google is offering $5 million if you can think up a use for a quantum computer. Wait, I thought quantum computers were the next big thing, a revolution! Surely we know what they can do?



GR00T Could Be The Robot You Have Always Wanted
27/03/2024

We may not have flying cars, but we could well soon have robots that match up to predictions for the 21st century. Nvidia has announced GR00T, a cleverly named project to build robots using foundation [ ... ]


More News

raspberry pi books

 

Comments




or email your comment to: comments@i-programmer.info

Last Updated ( Friday, 20 December 2019 )