VOOZH about

URL: https://thenewstack.io/azul-proposes-java-state-api-to-speed-app-start-up-times/

⇱ Azul Proposes Java State API to Speed App Start-up Times - The New Stack


TNS
SUBSCRIBE
Join our community of software engineering leaders and aspirational developers. Always stay in-the-know by getting the most important news and exclusive content delivered fresh to your inbox to learn more about at-scale software development.
REQUIRED
It seems that you've previously unsubscribed from our newsletter in the past. Click the button below to open the re-subscribe form in a new tab. When you're done, simply close that tab and continue with this form to complete your subscription.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.
Welcome and thank you for joining The New Stack community!
Please answer a few simple questions to help us deliver the news and resources you are interested in.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Great to meet you!
Tell us a bit about your job so we can cover the topics you find most relevant.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Welcome!

We’re so glad you’re here. You can expect all the best TNS content to arrive Monday through Friday to keep you on top of the news and at the top of your game.

What’s next?

Check your inbox for a confirmation email where you can adjust your preferences and even join additional groups.

Follow TNS on your favorite social media networks.

Become a TNS follower on LinkedIn.

Check out the latest featured and trending stories while you wait for your first TNS newsletter.

PREV
1 of 2
NEXT
VOXPOP
As a JavaScript developer, what non-React tools do you use most often?
Angular
0%
Astro
0%
Svelte
0%
Vue.js
0%
Other
0%
I only use React
0%
I don't use JavaScript
0%
Thanks for your opinion! Subscribe below to get the final results, published exclusively in our TNS Update newsletter:
NEW! Try Stackie AI
From clobbered drafts to real-time sync
Apr 14th 2026 10:00am, by David Moore
TypeScript 6.0 RC arrives as a bridge to a faster future
Mar 14th 2026 9:00am, by Darryl K. Taft
Mastra empowers web devs to build AI agents in TypeScript
Jan 28th 2026 11:00am, by Loraine Lawson
2021-07-23 05:00:42
Azul Proposes Java State API to Speed App Start-up Times
news,
Cloud Native Ecosystem / Software Development

Azul Proposes Java State API to Speed App Start-up Times

Java platform provider Azul has proposed a new API to help developers get around the long start-up and warm-up times for Java apps by saving the state of the runtime.
Jul 23rd, 2021 5:00am by Darryl K. Taft
👁 Featued image for: Azul Proposes Java State API to Speed App Start-up Times
Feature image par rihaij de Pixabay

Java platform provider Azul has proposed a new API to help developers get around the long start-up and warm-up times for Java apps by saving the state of the runtime.

Anton Kozlov, a software engineer at Azul, proposed a new API known as Coordinated Restore at Checkpoint (CRaC) to the OpenJDK community. According to Oracle’s Java Platform Group, Azul initially proposed CRaC in 2019 and has renewed its proposal this week.

“Java applications can avoid the long start-up and warm-up by saving the state of the Java runtime (snapshot, checkpoint),” Kozlov wrote. “The saved state is then used to start instances fast (restored). But after the state was saved, the execution environment could change. Also, if multiple instances are started from the saved state simultaneously, they should obtain some uniqueness, and their executions should diverge at some point.”

Kozlov added that a practical way to solve these problems is to make Java applications aware of when the state is saved and restored. Then an application will be able to handle environmental changes, he said.

“OpenJDK is the place where innovation on the Java Platform, Standard Edition takes place,” the Oracle Java Platform Group said in a statement. “This proposal was discussed and presented at the 2019 JVM Language Summit and we welcome seeing more progress being made and that it may be a project at OpenJDK.”

Gil Tene, Chief Technology Officer at Azul, said the company does not yet have a specific Java version targeted for this API and capability. Azul expects to develop CRaC under the JDK Enhancement Proposal (JEP) process and in a project and to propose inclusion in some future OpenJDK and Java SE versions.

CRaC is “the type of feature that Java needs to increase its relevance in the cloud native world.”– Eclipse Foundation’s Mike Milinkovich

“This will obviously not be in 17, and hopefully, will make it in some version that follows,” Tene said. Given the time it usually takes to mature such things, Azul expects it to be no earlier than 19 or 20, “and could be much longer,” he said.

Mike Milinkovich, executive director of the Eclipse Foundation, which is the steward for the Java-based Eclipse IDE among other tools for developers, said he didn’t have any comments on the specific technical proposal. “However, this is the type of feature that Java needs to increase its relevance in the cloud native world. I hope that the OpenJDK community embraces this as an opportunity to drive innovation in the Java platform,” he said.

The CRaC project’s goal is to deliver a Java API for coordination between application and runtime to save and restore the state,” Kozlov wrote.

“Runtime should support multiple ways to save the state: virtual machine snapshot, container snapshot, CRIU project on Linux, etc.,” he said. “We hope to come with an API that is general enough for any underlying mechanism. We also plan to explore safety checks in the API and runtime, which prevent saving the state if it may not be restored or work correctly after the restore.”

Indeed, tools that make developers’ lives better are always welcome, said Holger Mueller, an analyst at Constellation Research.

“It’s always good to see innovations that make developers’ lives better, and recently a lot has been happening in the space, which is good to see, he said. “As developer velocity is key to building better and faster next-generation applications, development tool start-up times and re-finding work have always been a drain on productivity. So, it is good to see a proposal to help Java developers gain a stateful IDE about changing the future of work for developers.”

Meanwhile, Kozlov proposed that he become project lead of the CRaC Project and that “A fork of JDK would be a starting point of this project,” he said.

The fork, however, would not be a “fork” in a bad way, it just means it would have its own separate builds from mainline, just like Oracle’s Valhalla and Panama Java projects, for example, the Oracle Java Platform Group said.

In a post to the OpenJDK maintainers last year, Tene wrote: “In the Java arena, we aim to create a generic CRaC API that would allow applications and/or application frameworks to coordinate with an arbitrary checkpoint/restore mechanism, without being tied to a specific implementation or to the operational means by which checkpointing and restoration is achieved. Such an API would allow application frameworks (e.g., Tomcat, Quarkus, Micronaut, etc.) to perform the needed coordination in a portable way, which would not require coding that is specific to a checkpoint/restore mechanism.”

In that same post, Tene said Azul’s hope is to start a project that will focus on specifying a CRaC API and to provide at least one CRaC-supporting checkpoint/restore OpenJDK implementation with the hope of eventual upstream inclusion in a future OpenJDK version via associated JEPs.

“We would potentially want to include the API in a future Java SE specification as well,” he said.

TRENDING STORIES
Darryl K. Taft covers DevOps, software development tools and developer-related issues from his office in the Baltimore area. He has more than 25 years of experience in the business and is always looking for the next scoop. He has worked...
Read more from Darryl K. Taft
SHARE THIS STORY
TRENDING STORIES
SHARE THIS STORY
TRENDING STORIES
TNS DAILY NEWSLETTER Receive a free roundup of the most recent TNS articles in your inbox each day.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.