JDK 28에 Project Valhalla의 주요 변경 사항인 Value Classes가 도입되었다.
Project Valhalla의 10년 작업이 JDK 28에 반영되어, JEP 401이 실제 JDK preview 단계에 도달했다. 이 새로운 기능은 Java 객체를 클래스처럼 코딩하지만, int처럼 동작하게 만들어 객체 관련 비용을 줄이는 것을 목표로 한다. 이를 통해 객체 헤더, 힙 할당, GC 및 포인터 간접 참조 비용을 절감할 수 있다.
Project Valhalla's key changes are incorporated into JDK 28 with Value Classes.
Ten years of work on Project Valhalla is reflected in JDK 28 with the introduction of Value Classes as part of JEP 401, which has reached the actual JDK preview stage. The core goal is to allow Java objects to be coded like classes while behaving like int, reducing costs associated with object headers, heap allocation, GC, and pointer indirection. This innovation aims for greater efficiency in Java programming.