fbpx

Techniques for a faster JVM start-up

by | Sep 3, 2022 | Voxxed Days Cluj 2022

Ionut Balosin is a software architect, independent technical trainer, and security champion. He regularly speaks at software development conferences and meetups around the world, delivering presentations, training courses, and workshops. For more information please visit his website www.ionutbalosin.com

During this session, I will discuss a few techniques about how to improve the JVM start-up time for any application running on the JVM, independent of the programming language. These techniques could be applied in any project, in general without code changes. You can use the same techniques to speed up the JVM start-up time for your applications (both in development and production environments).

Main topics:

– when the JVM start-up matters (i.e. for what types of applications)
– application/dynamic class-data sharing in HotSpot JVM
– shared class cache in Eclipse OpenJ9
– Ahead-of-time (AOT) compilation
– few handy JVM flags
– hands-on demonstration (including benchmarks results)

The JVMs included in this talk are OpenJDK HotSpot and Graal VM.