3 ms·
Project Valhalla has been announced 9 years ago and nothing relevant is in the JDK yet, I don't think this will be relevant for day-to-day Java for several more
by dtech 3y ago
Project Valhalla has been announced 9 years ago and nothing relevant is in the JDK yet, I don't think this will be relevant for day-to-day Java for several more years at least.
- MrBuddyCasino 3y agoProbably, but "nothing relevant is in the JDK yet" is not quite fair. Several sub-projects are in "Preview Feature" [0] status, which is defined as "a new feature of the Java language, Java Virtual Machine, or Java SE API that is fully specified, fully implemented, and yet impermanent". This includes JEP 401 "Flattened Heap Layouts for Value Objects" [1, JEP 402 "Enhanced Primitive Boxing" [2], and I think also "Value Objects" [3] and "Universal Generics" [4]. It is a huge task with many dependencies and requires careful design. It feels like it might finally make it in the next long term release. [0] https://openjdk.org/jeps/12 https://openjdk.org/jeps/12 [1] https://openjdk.org/jeps/401 https://openjdk.org/jeps/401 [2] https://openjdk.org/jeps/402 https://openjdk.org/jeps/402 [3] https://openjdk.org/jeps/8277163 https://openjdk.org/jeps/8277163 [4] https://openjdk.org/jeps/8261529 https://openjdk.org/jeps/8261529