BT

Facilitating the Spread of Knowledge and Innovation in Professional Software Development

Write for InfoQ

Topics

Choose your language

InfoQ Homepage News Datadog State of Java Report

Datadog State of Java Report

Listen to this article -  0:00

Datadog, a leading observability company, have released a detailed report on the state of the Java ecosystem. In some ways, the report is similar to the New Relic reports that were previously published, although those reports have not been produced since 2024.

The Datadog report, like the New Relic reports before it, is based on directly observed data about how Java is actually being used. This makes it far more accurate than self-reported data, and allows us to have higher confidence in some very interesting trends -- although it must be stressed that because the data is only drawn from Datadog's customers there will be some inevitable underlying selection bias.

One of the biggest takeaways from the report is the distribution of Java versions:

  • Java 8: 7%
  • Java 11: 9%
  • Java 17: 31%
  • Java 21: 40%
  • Java 25: 9%

In context, this shows 80% of services are now running on Java 17 or later, and that Java 8 and 11 are very much legacy versions at this point. Surprisingly, there is more Java 25 out there than there is Java 8 (again, among Datadog customers, at least).

We also see an overall trend towards containerization instead of virtual hosts - with over 80% of Java services now running in containers. Services running on more modern Java versions also show more up-to-date patching (i.e. upgrading to recent patch releases of the overall Java version).

Taking a step back, these findings tend to support each other -- more up-to-date patching could be expected to be correlated to better overall practices, which would include more up-to-date Java versions.

Another major quantitative finding is how 99th-percentile (p99) latency changes between Java 8 to 21. On average, this tail latency indicator falls sharply, as we can see:

  • Java 8: 230 ms
  • Java 11: 145 ms
  • Java 17: 83 ms
  • Java 21: 64 ms

One possible reason for this could be garbage collection (GC). Java mandates use of GC and this has historically contributed to higher tail latency when compared to manually-managed environments (which tend to have lower throughput and increased bug counts and code fragility as compared to modern automatic runtimes).

In this context, it's noteworthy that the default Java GC algorithm changed between Java 8 and 11 -- with the multi-threaded and highly efficient (but Stop-The-World) Parallel algorithm being replaced with the G1 ("Garbage First") regional collector, which trades off extra algorithm complexity and lower throughput for better tail latency behaviour.

Not only that, but the version of G1 present in Java 11 is very different to the form present in Java 17. Overall, this matches the pattern of marked improvement from 8 to 11 and then a further dramatic reduction from 11 to 17 followed by a less pronounced improvement from 21 to 25.

Turning to the vendors that supply JDKs, we can see a clear difference between free and paid JDK options: While Amazon Corretto and Eclipse Temurin form 2/3rds of the overall market, Red Hat and Oracle JDKs are the most popular options for teams requiring paid support and so will be a much larger share of the paid JDK market.

Notably absent from the Datadog numbers are: a) Microsoft's build of OpenJDK and b) Java workloads running on the IBM J9 virtual machine (as opposed to the standard Hotspot VM used in OpenJDK-derived distributions).

AOT-compiled workloads derived from the GraalVM Native project do appear in the data set, but only at a small level (~1% of workloads).

The Datadog product which reports the data used for the survey contains an execution profiler -- which allows inferences based on executing code paths. For example, the usage of Large Language Models (LLMs) has tripled since Jan 2025 among Datadog customers, implying that Java teams continue to modernize and adopt genAI techniques within their applications, and at a faster rate, relatively speaking, than developers using other platforms.

The other aspect of the code path analysis is that the data supports the idea of library clustering -- that architectural decisions (such as choice of architectural style or cloud provider) result in a group of libraries that are likely to occur together in a workload that makes that choice.

Spring remains the dominant framework with over 75% market share between its Boot and non-Boot variants (the latter tends to be more common on virtual machines rather than in containers). Bare servlets are also seen within the Datadog data, and the second-placed modern framework is the Quarkus framework created by Red Hat, but now run as an independent project within the Commonhaus Foundation.

Interestingly, Quarkus seems to be more common among higher-throughput and more efficiency-conscious applications, with over half of Quarkus services handling 100k+ requests per day on average.

Taken together, the picture that the Datadog report paints is one of a modern ecosystem that has adapted to the cloud and containerisation and is actively integrating LLM-based technologies into their stacks. Rumours of Java's imminent demise appear, once again, to have been overstated.

About the Author

Rate this Article

Adoption
Style

BT