Version
- Latest (GraalVM for JDK 21)
- Dev Build
- GraalVM for JDK 21
- GraalVM for JDK 20
- GraalVM for JDK 17
- GraalVM 22.3
- GraalVM 22.2
- GraalVM 22.1
- GraalVM 22.0
- GraalVM 21.3
Note
This documentation may be out of date. See the latest version.
Optimizations and Performance
Native Image provides advanced mechanisms to further optimize the generated binary:
- Profile-Guided Optimizations (PGO) can provide additional performance gain and higher throughput for most native images. See Optimize a Native Executable with PGO.
- Choosing an appropriate Garbage Collector and tailoring the garbage collection policy can reduce GC times. See Memory Management.
- Loading application configuration during the image build can speed up application startup. See Class Initialization at Image Build Time.