Back

Microsoft
Patches for Microsoft OpenJDK with Hotspot 21 x64
Windows
6 patches available
The Microsoft Build of OpenJDK is a new no-cost long-term supported distribution and Microsoft's new way to collaborate and contribute to the Java ecosystem.
Microsoft OpenJDK with Hotspot 21 x64 Version 21.0.8.9
Release Date
7/10/2025
Bug Fix?
Yes
Minor Release?
Yes
Patch Notes

OpenJDK 21.0.8$$$releases/jdk-21.0.8 - Refer - https://github.com/microsoft/openjdk-jdk21u/tree/release/jdk-21.0.8_9$$$List of fixes - Refer - https://bugs.openjdk.org/browse/JDK-8361672?jql=project%20%3D%20JDK%20AND%20status%20in%20(Closed%2C%20Resolved)%20AND%20fixVersion%20%3D%2021.0.8$$$See the OpenJDK Vulnerability Advisory for vulnerabilities that were fixed in this release. Refer - https://openjdk.org/groups/vulnerability/advisories/2025-07-15$$$$$$Enhancements / Additional Fixes$$$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
Microsoft OpenJDK with Hotspot 21 x64 Version 21.0.7.6
Release Date
4/9/2025
Bug Fix?
Yes
Minor Release?
Yes
Patch Notes

OpenJDK 21.0.7$$$releases/jdk-21.0.7$$$List of fixes$$$See the OpenJDK Vulnerability Advisory for vulnerabilities that were fixed in this release.$$$Enhancements / Additional Fixes$$$Backport of JDK-8350609: Cleanup unknown unwind opcode (0xB) for windows$$$Enabled GPU selection hinting in Windows builds using NvOptimusEnablement and AmdPowerXpressRequestHighPerformance$$$Exported driver hints to prefer high-performance GPU (NVIDIA/AMD) from the JVM$$$Useful in environments like Minecraft; IDEs; or ML tooling to ensure GPU utilization
Microsoft OpenJDK with Hotspot 21 x64 Version 21.0.7.6
Release Date
4/9/2025
Bug Fix?
Yes
Minor Release?
Yes
Patch Notes

OpenJDK 21.0.7$$$releases/jdk-21.0.7$$$List of fixes$$$See the OpenJDK Vulnerability Advisory for vulnerabilities that were fixed in this release.$$$Enhancements / Additional Fixes$$$Backport of JDK-8350609: Cleanup unknown unwind opcode (0xB) for windows$$$Enabled GPU selection hinting in Windows builds using NvOptimusEnablement and AmdPowerXpressRequestHighPerformance$$$Exported driver hints to prefer high-performance GPU (NVIDIA/AMD) from the JVM$$$Useful in environments like Minecraft; IDEs; or ML tooling to ensure GPU utilization
Microsoft OpenJDK with Hotspot 21 x64 Version 21.0.6.7
Release Date
1/23/2025
Bug Fix?
Yes
Minor Release?
Yes
Patch Notes

OpenJDK 21.0.6$$$releases/jdk-21.0.6$$$List of fixes$$$See the OpenJDK Vulnerability Advisory for vulnerabilities that were fixed in this release.$$$Enhancements / Additional Fixes$$$Backport of JDK-8338136: Hotspot should support multiple large page sizes on Windows$$$Backport of JDK-8345296: AArch64: VM crashes with SIGILL when prctl is disallowed$$$Backport of JDK-8335977: Deoptimization fails with assert object should be reallocated already$$$Backport of JDK-8340454: C2 EA asserts with previous reducible Phi is no longer reducible before SUT
Microsoft OpenJDK with Hotspot 21 x64 Version 21.0.5.11
Release Date
10/22/2024
Bug Fix?
Yes
Minor Release?
Yes
Patch Notes

OpenJDK 21.0.5$$$releases/jdk-21.0.5$$$List of fixes$$$See the OpenJDK Vulnerability Advisory for vulnerabilities that were fixed in this release.$$$Enhancements$$$Removed calls to undocumented Windows APIs (NtCreateKeyedEvent; NtReleaseKeyedEvent; NtWaitForKeyedEvent).$$$Backport of JDK-8334475: UnsafeIntrinsicsTest.java#ZGenerationalDebug assert(!assert_on_failure) failed: Has low-order bits set.
Microsoft OpenJDK with Hotspot 21 x64 Version 21.0.4.7
Release Date
7/18/2024
Bug Fix?
Yes
Minor Release?
Yes
Patch Notes

[JDK-8335960] [21u] Remove designator DEFAULT_PROMOTED_VERSION_PRE=ea for release 21.0.4 Created: 2024-07-09 Updated: 2024-07-16 Resolved: 2024-07-16 $$$Status:tResolved$$$Project:tJDK$$$$$$Component/s:tinfrastructure $$$$$$Affects Version/s:t21.0.4 $$$$$$Fix Version/s:t21.0.4 $$$$$$$$$Type: tBug tPriority: tP4 $$$Reporter: tChristoph Langer $$$Assignee: tChristoph Langer $$$$$$Resolution: tFixed tVotes: t0 $$$Labels: tNone $$$Remaining Estimate:tNot Specified $$$Time Spent:tNot Specified $$$Original Estimate:tNot Specified $$$$$$Issue Links: tBackport$$$backported by tJDK-8336554 $$$[21u] Remove designator DEFAULT_PROMO... tResolved $$$$$$Subcomponent:trelease_eng $$$Resolved In Build:tb07 $$$$$$ Description t $$$As discussed in https://github.com/openjdk/jdk17u-dev/pull/307; wed like to have DEFAULT_PROMOTED_VERSION_PRE set to ea in dev source trees and remove it for GA tagged source levels. $$$$$$ Comments t $$$Comment by Dukebot [ 2024-07-16 ] $$$$$$Changeset: d6e8788c$$$Branch: master$$$Author: Christoph Langer <christoph.langer@sap.com>$$$Committer: Christoph Langer <clanger@openjdk.org>$$$Date: 2024-07-09 10:07:16 +0000$$$URL: https://git.openjdk.org/jdk21u/commit/d6e8788ca888fac7f04751e72202f10fda8cad59$$$$$$Generated at Tue Aug 06 12:09:26 UTC 2024 using Jira 9.4.21#940021-sha1:84e26b3d1a2d938c65e3cb0346c67a8c198675a9. $$$
Microsoft OpenJDK with Hotspot 21 x64 Version 21.0.3.9
Release Date
4/17/2024
Bug Fix?
Yes
Minor Release?
Yes
Patch Notes

OpenJDK 21.0.3$$$releases/jdk-21.0.3$$$List of fixes$$$Enhancements$$$Includes a new feature (see JDK-8287061 and JDK-8289943) to improve the performance of Escape Analysis by increasing the number of opportunities for Scalar Replacement. This feature is enabled by default. To disable it; developers must use the following JVM flags:$$$$$$-XX:+UnlockDiagnosticVMOptions -XX:-ReduceAllocationMerges$$$$$$Includes a new JFR event to track Compiler Queue Utilization (a backport of JDK-8317562).
Microsoft OpenJDK with Hotspot 21 x64 Version 21.0.2.13
Release Date
1/10/2024
Bug Fix?
Yes
Minor Release?
Yes
Patch Notes

OpenJDK 21.0.2$$$releases/jdk-21.0.2$$$List of fixes$$$Enhancements$$$Includes a new feature (see JDK-8287061 and JDK-8289943) to improve the performance of Escape Analysis by increasing the number of opportunities for Scalar Replacement. This feature is enabled by default. To disable it; developers must use the following JVM flags:$$$$$$-XX:+UnlockDiagnosticVMOptions -XX:-ReduceAllocationMerges$$$$$$Includes a new JFR event to track Compiler Queue Utilization (a backport of JDK-8317562).
Interested in automating patching for Microsoft OpenJDK with Hotspot 21 x64?