Visit Azul.com Support

Connecting a JVM to Optimizer Hub

Need help?
Schedule a consultation with an Azul performance expert.
Contact Us

You can use an Optimizer Hub instance to provide compilations with Cloud Native Compiler, reading and writing profile logs with ReadyNow Orchestrator, or both.

Make sure you install Azul Zing Builds of OpenJDK (Zing) 24.02 or newer on your client machines. Starting from release 26.02 of Zing, OpenSSL is no longer included. If your Optimizer Hub instance is configured with SSL, you must install your own SSL library in your application. We recommend simply adding an OpenSSL implementation to your Maven dependencies such as Netty or Conscrypt.

Ask your Optimizer Hub instance admin for the host (DNS or IP) and optional port of the Optimizer Hub service and enter it in the -XX:OptHubHost=<host>:<port> JVM parameter flag to create a connection between the JVM and the Optimizer Hub instance.

For additional flags, see:

Note
Establishing a connection to Optimizer Hub does not force the JVM to fetch compilations from Optimizer Hub and not perform compilations locally by default.
Note
Connected JVMs still consume Gateway connection capacity, even when they are not currently requesting compilations. For capacity planning guidance, see Gateway Connection Capacity.