JEP 401: Value Objects (Preview) merged to OpenJDK master

Hacker News Top News

Summary

JEP 401: Value Objects (Preview) has been merged into OpenJDK master, marking a significant milestone for Project Valhalla's value types in Java.

No content available
Original Article
View Cached Full Text

Cached at: 07/31/26, 07:55 AM

openjdk/jdk

Source: https://github.com/openjdk/jdk

Welcome to the JDK!

For build instructions please see the online documentation, or either of these files:

See https://openjdk.org/ for more information about the OpenJDK Community and the JDK and see https://bugs.openjdk.org for JDK issue tracking.

Similar Articles

Value Classes Still Need Compiler Sympathy

Hacker News Top

This article discusses the integration of value classes as a preview feature in JDK 28 and analyzes the optimization opportunities and limitations in the JVM, emphasizing the need for careful compiler support.

JEP 539: Strict Field Initialization in the JVM moved to preview

Hacker News Top

JEP 539 introduces strictly-initialized fields in the JVM as a preview feature, requiring fields to be initialized before reading to avoid default values like 0 or null. This provides stronger integrity guarantees for JVM-based languages.

JDK 28

Hacker News Top

OpenJDK 发布 JDK 28 版本规划页面,目前包含 10 个已确定的 JEP,涵盖值对象预览、结构化并发、AOT 编译、ZGC 性能改进及 JSON API 孵化器等特性。

JEP 544: Ahead-of-Time Code Compilation

Hacker News Top

JEP 544 introduces ahead-of-time code compilation for Java applications to improve startup and warmup times by compiling code to native code in a training run, with dynamic JIT compilation for adaptability in changing workloads.