You can precompile files provided by IBM®, for example , to achieve a compromise between performance and predictability.
About this task
The precompilation is similar to the task of precompiling your application jars but an additional requirement applies at run time; you must ensure that your boot class path is specified correctly to use these files instead of the files in the JRE. You can do this with the
-Xshareclasses option, which instructs the JVM to look first in the specified class cache ahead of the default class path locations. Note: When using shared class caches, the name of the cache must not exceed 53 characters.
Precompile for use with the application: