Microsoft Introduces jaz: Automated Memory and Startup Optimization for Java in the Cloud

Wed 28th May, 2025

Microsoft has unveiled a new tool named jaz designed to enhance the startup performance of Java applications operating in the Azure cloud environment. This innovative solution aims to streamline cloud operations and reduce associated costs by automating the configuration of the Java Virtual Machine (JVM).

The jaz JVM launcher operates seamlessly with containers, automatically analyzing the surrounding environment to select the most suitable configuration for the Java Virtual Machine. This tool is particularly beneficial as it eliminates the need for manual configuration, allowing for improved memory utilization and reduced startup times.

According to Microsoft, a significant number of developers are deterred by the complex configurations typically required for the JVM in cloud settings. A reported thirty percent of these developers opt to use the default settings of Oracle's Hotspot JVM, which are often too conservative and not tailored to specific environments. Jaz addresses this issue by automatically configuring critical parameters such as heap size and garbage collection strategies.

In addition to its automatic configuration capabilities, jaz employs advanced optimization techniques including Application Class Data Sharing (AppCDS) and plans to integrate Project Leyden in the future. This is expected to enhance the efficiency of deploying new Java projects on Azure, contributing to further reductions in cloud expenditure.

The jaz tool is compatible with various Azure services, including Azure Container Apps, Kubernetes Service, Red Hat OpenShift, and Azure Virtual Machines. It is particularly well-suited for projects utilizing frameworks such as Spring Boot, Quarkus, and Micronaut.

To utilize jaz, developers need only a simple command line execution:

$ jaz -jar myapp.jar

In contrast to the traditional method that requires extensive manual tuning parameters, jaz significantly simplifies the deployment process.

Looking ahead, Microsoft is planning to integrate telemetry support in conjunction with Prometheus, which will allow for more insightful monitoring and management of Java applications in the cloud. Currently, access to jaz is limited to those who have received an invitation for a private preview, with interested developers encouraged to sign up via a web form.

This strategic move by Microsoft aligns with its ongoing commitment to provide developers with more effective tools for cloud-native application development, ultimately facilitating a smoother transition to cloud-based solutions.


More Quick Read Articles »