Connecting a JVM to Cloud Native Compiler
Whether you are using a Cloud Native Compiler instance to provide compilations, ReadyNow profiles, or both, the first step is creating a connection between the JVM and the CNC instance. Ask your CNC service admin for the host address and port of the CNC host and enter it in the -XX:CNCHost=host:port
JVM parameter flag.
By default, establishing a connection to CNC forces the JVM to fetch compilations from CNC and not perform compilations locally. If you are only using CNC for Profile Log Service, your CNC administrator can disable Compiler Service globally using the compilations.parallelism.limitPerVm
setting.
Note
|
In some cases, you may also need to enter an additional -XX:CNCEngineUploadAddress=host:port flag. Ask your CNC service admin if this is needed.
|