Keeping Your Java Hot by Solving the JVM Warmup Problem

Originally aired:

About the Session

Java bytecodes and class files deliver on the original vision of "write once, run anywhere." The Just-in-Time (JIT) compiler enables JVM-based applications to compile code that’s frequently used and optimize it based on how it’s being executed. Techniques like speculative optimization often outperform static Ahead-of-Time (AOT) compiled code. However, this flexibility comes at a cost—each time the JVM starts, it must perform analysis to find hot spots and compile them, leading to warmup time.

In this session, we’ll explore several approaches to alleviate or eliminate the JVM warmup problem:

  • Static compilation of Java code AOT: We'll discuss the GraalVM native image approach.
  • Generating a JIT compiler profile: How to profile a running, warmed-up application and reuse it on restart, reducing the need for repeated JIT compilation. We’ll include the work of OpenJDK Project Leyden.
  • Decoupling the JIT compiler from the JVM for cloud environments: Centralized JIT-as-a-Service that caches compiled code and offloads compilation when needed.
  • Creating a checkpoint of a running application: Using Project CRaC (Coordinated Restore at Checkpoint) to capture the application state, including the heap, stack, and JIT-compiled code.

By the end of this session, you’ll be equipped with practical techniques to keep your Java applications running hot and optimize their performance.

Target Audience: This session is primarily aimed at Java Developers and Back-end Engineers who need to improve the performance of JVM-based applications by addressing warmup time issues. Software Architects will also benefit, as understanding these performance optimizations is critical for designing high-performing, scalable systems in cloud environments. OpsTech Professionals may find value in learning how to apply these techniques to optimize performance in production environments, especially for cloud-based or containerized applications.

See Highlights

Hear What Attendees Say

PwC

“Once again Saltmarch has knocked it out of the park with interesting speakers, engaging content and challenging ideas. No jetlag fog at all, which counts for how interesting the whole thing was."

Cybersecurity Lead, PwC

Intuit

“Very much looking forward to next year. I will be keeping my eye out for the date so I can make sure I lock it in my calendar."

Software Engineering Specialist, Intuit

GroupOn

“Best conference I have ever been to with lots of insights and information on next generation technologies and those that are the need of the hour."

Software Architect, GroupOn

Hear What Speakers & Sponsors Say

Scott Davis

“Happy to meet everyone who came from near and far. Glad to know you've discovered some great lessons here, and glad you joined us for all the discoveries great and small."

Web Architect & Principal Engineer, Scott Davis

Dr. Venkat Subramaniam

“Wonderful set of conferences, well organized, fantastic speakers, and an amazingly interactive set of audience. Thanks for having me at the events!"

Founder of Agile Developer Inc., Dr. Venkat Subramaniam

Oracle Corp.

“What a buzz! The events have been instrumental in bringing the whole software community together. There has been something for everyone from developers to architects to business to vendors. Thanks everyone!"

Voltaire Yap, Global Events Manager, Oracle Corp.