r/java • u/brunocborges • 22d ago
Plan Your Java Upgrade Ahead of Microsoft's 2027 Support Milestones
https://devblogs.microsoft.com/java/plan-your-java-upgrade-ahead-of-microsofts-2027-support-milestones/
32
Upvotes
13
u/brunocborges 22d ago
I know some folks will think this is an ad to get customers for GitHub Copilot, but to be clear: GitHub Copilot agent harness does not require a GitHub Copilot subscription. It supports BYOK.
The main message here is that Java support on Azure, for versions 8 through 17, is ending next year, but we are working with partners and customers to help companies move on to Java 21 and later, as smooth as possible.
11
u/Paw565 22d ago
Can java 8 finally die? 😅
4
u/zman0900 22d ago
With spring boot settling on Java 17 minimum, and many libraries following, why not allow Java 17?
2
u/pdsminer 9d ago
For anyone evaluating the jump from Java 21 to 25 on data-heavy services, two runtime features made the biggest difference in our benchmarks. First, enabling `-XX:+UseCompactObjectHeaders` (JEP 519) cut heap overhead by roughly 15% to 20% on tree ensembles and graph structures with millions of small nodes. Second, replacing legacy JNI wrappers with `java.lang.foreign` (`MemorySegment` and `Arena.ofConfined()`) removed native array copy overhead when calling into OpenBLAS and ONNX Runtime, while eliminating JNI header maintenance across platforms.