- Latest (22.3)
- Dev Build
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.