Java 27: G1 Becomes Default, Post-Quantum Security Arrives, and Compact Headers Land

Java 27: What's New?

I explore the key updates in Java 27, where G1 is now the default garbage collector across all environments and post-quantum hybrid key exchanges secure TLS 1.3. Compact object headers are enabled by default to boost performance, while JFR introduces automatic data redaction for sensitive information. Although no features exited preview this cycle, significant enhancements to Lazy Constants, Structured Concurrency, and the Vector API continue to evolve.

It is rare enough to highlight that no features came out of preview in this release, as some long-standing features remain blocked waiting for the Valhalla project.
  1. jsiepkes

    Dear diary, the year is 2094, 10 years since society collapsed. The neighbors went scavenging for food and I haven't seen them in 4 days. I fear the worst. Meanwhile, JEP 533 – Structured Concurrency still hasn't been declared stable, and it has entered its five-hundredth preview release in OpenJDK 136.

  2. Alifatisk

    Java 27 already? I just learned about Java 26. But I’m not complaining, the JEPs that is getting introduced on every release are quite exciting features. I highly recommend following the Java official YouTube channel, they publish entertaining, yet informative videos/shorts about tips/tricks/features.

  3. exabrial

    > On the performance side, I noted two interesting improvements:

    > HashMap.putAll() now has a fast-path when the Map is a HashMap, which directly calls putHashMapEntries(), resulting in a 66-86% improvement (PR #28243);

    > A new intrinsic for the AVX2 architecture has been added for binary search, resulting in a 1.5x to 2.35x improvement for arrays above a certain threshold (int=256, long=768, short=512, char=512) (PR #30612).

    Ok THIS is impressive!

  4. throwaw12

    Give us some break we just recently migrated to Java 11 from Java 8

  5. nerdile

    > tests showed that for environments with one CPU (or fewer)

    Article seems AI generated. Is there an official announcement we could be discussing instead?

More from this day

2026-07-10