Java Cup
Inside Java

News and views from members of the Java team at Oracle

Optimizing Java Class Metadata in Project Valhalla

In this post, I’ll walk through some of the behind-the-scenes details of one of Project Valhalla’s core features: value classes, and the concept of flattening (or inlining, the term I will use here). Whether you’re a JVM developer or just deeply curious about how Java works under the hood, this technical deep dive is for you.


More at https://joelsiks.com/posts/valhalla-inlinelayoutinfo-array-optimization/.