Visit Azul.com Support

Connecting a JVM to Optimizer Hub

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

Whether you are using an Optimizer Hub instance to provide compilations, ReadyNow profiles, or both, the first step is creating a connection between the JVM and the Optimizer Hub instance. Ask your Optimizer Hub instance admin for the host address and port of the Optimizer Hub host and enter it in the -XX:OptHubHost=host:port JVM parameter flag.

Establishing a connection to Optimizer Hub does not force the JVM to fetch compilations from Optimizer Hub and not perform compilations locally by default. See the configuration flags on Using the Cloud Native Compiler.

Note
In some cases, you may also need to enter an additional -XX:CNCEngineUploadAddress=host:port flag. Ask your Optimizer Hub service admin if this is needed.