上周,JEP 440(记录模式)已从 JEP Draft 8300541提升 到 Candidate 状态。该 JEP 最终确定了这一特性,并针对前 2 轮 预览 的反馈做了增强。这两轮预览分别是在 JDK 20 中发布的 JEP 432(记录模式第 2 次预览)和在 JDK 19 中发布的 JEP 405(记录模式预览)。该特性为这门 ...
甲骨文 发布了Java 编程语言和虚拟机的 23 版本。作为 JDK 21 之后的第一个非 LTS 版本,最终的 12 个 JEP 特性包括: JEP 455:模式、instanceof 和 switch 中的原始类型(Primitive Types in Patterns, instanceof, and switch,预览) JEP 466:类文件 API(Class-File ...
Java 25 通过 JEP 519 将紧凑对象头作为产品特性进行了集成,在不需要更改任何代码的情况下,为开发人员提供了 30% 的 CPU 减少 和显著的内存节省。该特性将对象头大小从 12 字节减少到仅 8 字节,并且只需要一个简单的 JVM 标志即可启用。亚马逊已经在数百个 ...
Java 25 integrates Compact Object Headers as a product feature through JEP 519, offering developers a potential 30% CPU reduction and significant memory savings ...
A monthly overview of things you need to know as an architect or aspiring architect. Unlock the full InfoQ experience by logging in! Stay updated with your favorite authors and topics, engage with ...
Java has long been a powerhouse programming language thanks to its portability, robustness and extensive ecosystem. However, one major challenge for Java developers is interoperation with native code.