The Zing® ReadyNow! feature is designed to improve warmup and startup characteristics of applications running on the Zing JVM.
Zing ReadyNow! learns from previous executions and improves warmup and startup time incrementally at every new invocation. For an optimal result it is recommended to use the following sequence of runs:
Use the following command-line option:
The Zing virtual machine collects the profile information at the First Run.
-XX:ProfileLogOut=MyApp.prof command-line option and add the following new one:
This instructs the virtual machine to use the collected profile information. At this point you are expected to see a warmup improvement while you may see some degradation in startup.
Use the flags from the Warm Run again:
By this time the Zing virtual machine is expected to have populated Zing compile stashing with methods precompiled at Cold and Warm Runs and to start seeing the benefit of such caching. At this run you are expected to see the same warmup improvements as at Warm Run and some startup improvements as compared to Warm Run improvements depending on your application.
Keep using the same flags during all subsequent runs to see some incremental startup and CPU utilization improvements.
If you experience any issues with compile stashing, you can turn the feature off using the following command-line option:
Note: Our software distributions are signed by an OpenPGP key when appropriate. To verify your download, see Product Signing Keys (OpenPGP) for details.