Optimizations and Performance

Native Image provides advanced mechanisms to further optimize the generated binary:

  • Profile-Guided Optimization (PGO) can provide additional performance gain and higher throughput for most native images. See Profile-Guided Optimization.
  • 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.

Connect with us