Observability company Datadog has published a new State of Java report, and its headline finding is that Java 21 has overtaken Java 17 as the most widely used version among the services it monitors. The report is dated 2 December 2026 and was covered the same day by InfoQ. Unlike many ecosystem surveys, it is based on telemetry from Datadog customers’ running services rather than on what developers say they use, although InfoQ notes that this introduces a selection bias towards Datadog’s customer base.
Version split
According to Datadog, Java 21 accounts for 40% of services, Java 17 for 31%, and Java 25 and Java 11 for 9% each, while Java 8 is down to 7%. InfoQ highlights that roughly 80% of services now run Java 17 or later and that there is now more Java 25 than Java 8 in the data. Datadog also found that newer versions are better patched: the median Java 21 service is two patch releases behind, compared with five for Java 17 and ten for Java 11.
Latency and garbage collection
The report shows median p99 latency falling from 230 ms on Java 8 to 145 ms on Java 11, 83 ms on Java 17 and 64 ms on Java 21. Datadog cautions that part of the gain may come from newer frameworks, while InfoQ suggests improvements in garbage collection as one likely factor. Datadog says 69% of services use the collector chosen by default, G1 runs 64% of services and ZGC and Shenandoah together account for only 2%. Its p95 pause figures range from under 1 ms for ZGC to 191 ms for G1 and 744 ms for the Parallel collector.
Where Java runs
InfoQ reports that more than 80% of Java services run in containers, but Datadog’s own page gives a slightly lower figure of 78%, with 14% on serverless platforms and 8% on virtual machines. On JDK distributions, Datadog puts Eclipse Temurin at 35% and Amazon Corretto at 33%, together about two-thirds of the market. HotSpot runs more than 98% of services, and AWS hosts more than 60% of Java workloads. InfoQ adds that GraalVM native images appear in only about 1% of workloads.
Frameworks and AI dependencies
Spring remains dominant at 78% of services, split between Spring Boot at 71% and non-Boot Spring at 7%. Quarkus is the second modern framework and tends to run busier services: 53% of Quarkus services handle more than 100,000 requests a day, against 38% for Spring. Datadog also tracked AI adoption, finding that the share of Java services declaring an AI or machine learning dependency rose from 4.6% in January 2025 to 14.1% in October 2026, still behind the 20.8% seen in other languages.
Legacy still lingers
Some findings point to long tails of technical debt. Datadog says 23% of Java services still list Joda-Time as a direct dependency, years after the java.time API arrived, and 52% of Java web services handle fewer than one request per second at their daily peak. InfoQ’s author concludes that the data shows an ecosystem that has adapted well to cloud and container deployment, adding that predictions of Java’s decline again look overstated.
Sources:

