July 21st, 2025
0 reactions

Java OpenJDK July 2025 Patch & Security Update

Derek Keeler
Principal Software Engineering Manager

Hello Java customers!

We are happy to announce the latest July 2025 patch & security update release for the Microsoft Build of OpenJDK. Download and install the binaries today.

  • OpenJDK 21.0.8
  • OpenJDK 17.0.16
  • OpenJDK 11.0.28

Check our release notes page for details on fixes and enhancements. The source code of our builds is available now on GitHub for further inspection: jdk21u, jdk17u, jdk11u.

Microsoft Build of OpenJDK specific updates

OpenJDK21

  • Implemented JDK-8357445: G1: Time-Based Heap Uncommit During Idle Periods
    • Added experimental support for automatic uncommitting of unused G1 heap regions during idle periods to reduce memory footprint in containerized and cloud environments
    • Enable with -XX:+UnlockExperimentalVMOptions -XX:+G1UseTimeBasedHeapSizing
    • Particularly beneficial for:
      • Containerized applications with variable workloads
      • Cloud deployments where memory usage affects billing
      • Applications needing memory footprint optimization with no impact on GC pause times
    • For configuration details: https://github.com/microsoft/openjdk-workstreams/tree/main/G1-time-based-uncommit

OpenJDK17

  • Implemented JDK-8357445: G1: Time-Based Heap Uncommit During Idle Periods
    • Added experimental support for automatic uncommitting of unused G1 heap regions during idle periods to reduce memory footprint in containerized and cloud environments
    • Enable with -XX:+UnlockExperimentalVMOptions -XX:+G1UseTimeBasedHeapSizing
    • Particularly beneficial for:
      • Containerized applications with variable workloads
      • Cloud deployments where memory usage affects billing
      • Applications needing memory footprint optimization with no impact on GC pause times
    • For configuration details: https://github.com/microsoft/openjdk-workstreams/tree/main/G1-time-based-uncommit

OpenJDK11

  • No Microsoft-specific updates for this release.

Summary of Upstream Updates

OpenJDK 21

OpenJDK 17

OpenJDK 11

OpenJDK 8

We continue to provide support on Azure and internally at Microsoft for OpenJDK 8 binaries of Eclipse Temurin built by the Eclipse Adoptium project. To facilitate its usage, we ship container images of OpenJDK 8 on top of CBL-Mariner and Ubuntu. Refer to our documentation.

OpenJDK 8 (latest)

Questions?

Contact openjdk-support@microsoft.com.

Amplify the news!

LinkedIn

Category
JavaOpenJDK

Author

Derek Keeler
Principal Software Engineering Manager

I manage teams focusing on DevOps, AI, and Performance Tooling. I work with Java and Python currently, and have programmed in some other languages in the past as well (mostly those starting with the letter C).

0 comments