Production Java is moving toward newer long-term-support releases: Java 21 runs 40% of services, ahead of Java 17 at 31%, while Java 8 and 11 still account for 16%. Newer versions correlate with markedly lower median p99 latency - 64 ms on Java 21 versus 230 ms on Java 8 - and services on older releases are more likely to miss security patches. JDK vendors are split mainly between Eclipse Temurin and Amazon Corretto, but more than 98% of services use the HotSpot JVM. Vendor choices often reflect cloud platforms or frameworks rather than different runtime technology. Java AI and machine-learning dependencies rose from 4.6% of services in January 2025 to 14.1% by October 2026, mostly through libraries for integrating models rather than training them.
Deployment has also changed: nearly 80% of Java services run in containers, compared with 8% on VMs and 14% in serverless environments. Garbage-collector choices remain underused as a tuning opportunity: 69% of services keep the default, and just 2% use low-pause ZGC or Shenandoah, despite their much shorter pauses. Traffic is often modest - 52% of web services handle fewer than one request per second at peak - suggesting resource sizing may not reflect Java’s improving efficiency. Spring dominates at 78%; non-Boot Spring remains more common on VMs than containers, while other frameworks, including Quarkus, offer alternatives. Overall, the findings connect Java upgrades, patching, deployment and runtime configuration to performance, security and evolving application needs.
Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.