Java in the Cloud with GraalVM • Alina Yurenko • GOTO 2023

GraalVM's native image compilation improves Java performance by reducing startup times and memory usage, enabling deployment on any platform, including ARM and cloud environments.

Key takeaways
  • GraalVM’s native image compilation can lead to significant performance improvements by reducing startup times and memory usage.
  • The compilation process is done ahead of time, which means that the JVM does not need to run the application in order to generate the executable.
  • The native image can be run directly on the host operating system, without the need for a JVM.
  • The native image is fully static, which means that it does not need to load any dynamic libraries during execution.
  • The GraalVM has a tracing agent that can be used to generate the configuration for the native image.
  • The native image can be used to run Java applications on platforms that do not support the JVM, such as ARM.
  • The native image can be used to run Java applications on machines with limited resources, as it does not require a JVM.
  • GraalVM supports polyglot languages, allowing multiple languages to be combined into a single application.
  • GraalVM provides support for cloud-based applications, with features such as cloud-specific configurations and the ability to run on cloud platforms.
  • GraalVM’s native image can be used to reduce the overhead of dynamic code compilation and runtime, allowing for faster startup times and improved performance.
  • GraalVM’s tracing agent can be used to gather profiling data and generate configuration for the native image.
  • GraalVM provides support for popular Java frameworks, such as Spring Boot and Micronaut.
  • GraalVM’s native image can be used to further improve performance by eliminating unused code and reducing memory usage.
  • GraalVM’s tracing agent can be used to monitor application performance and gather profiling data.
  • GraalVM’s native image can be used to run Java applications on a variety of platforms, including ARM and cloud platforms.
  • GraalVM’s native image can be used to further improve performance by reducing the overhead of dynamic code compilation and runtime.