Tech News
← Home  ·  All topics

Jdk

3 GoKawiil briefs on this topic

Oracle Ships JDK 27 as Java's Latest General Availability Release

JDK 27, the reference implementation of Java 27, has reached General Availability after build 35 passed as the second release candidate with no critical bugs found. The release bundles nine JDK Enhancement Proposals, including G1 as the default garbage collector everywhere, post-quantum hybrid key exchange for TLS 1.3, compact object headers by default, and further previews of structured concurrency and pattern matching features. Oracle's GPL-licensed OpenJDK builds are already available for download, with other vendors expected to follow.

Investigation finds G1GC card-marking barrier makes Arrays.fill 265x slower than ParallelGC

A JMH benchmark filling two reference arrays showed drastically different results depending on garbage collector: about 0.5ms on ParallelGC versus 139ms on G1GC, despite no garbage collection occurring during the measured operations. The author traces this gap through JIT compilation and JVM flags down to a specific machine instruction responsible for the slowdown.

JEP 401 value classes land as preview in JDK 28, with performance caveats

JDK 28 has integrated JEP 401, a Project Valhalla milestone, as a preview feature that introduces value classes to the JVM. The author explains that these classes drop object identity, letting the JVM flatten and scalarize data in memory rather than always using pointer-based references, which can boost performance in many cases.