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.

Kozlov added that a practical way to solve these problems is to make Java applications aware of when the state is saved and restored.

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.

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.

Related Articles