Article ID: 000033
Last Revised On: 05-Jul-2010
PDF Version: 000033.pdf
The information in this article applies to:
You may download the latest version of Excelsior JET here.
You may have noticed that on the first launch after a system reboot (cold start), Java applications take longer to start than on subsequent launches (warm start), when their files are cached in memory by the operating system. This happens because application startup is I/O bound, so cold startup times heavily depend on the amount and order of disk reads during startup.
Excelsior JET includes the Startup Optimization Toolkit for reducing:
This article explains how to optimize Java application startup.
To turn on the optimization, simply run your Java application from within the JET Control Panel to collect profile information.
to ensure the profiling run is long enough to capture application startup.
Note: Profiling can also be enabled in an unattended build as described in the Excelsior JET User’s Guide (the "Startup time optimization"chapter, under "Automated builds")
Once the profile data has been collected, optimization is automatically enabled. You may now reboot the system and evaluate the cold startup time of your Java application.
To achieve the maximum effect of the startup optimization, follow these recommendations:
select the "Low" or "Tiny methods only" inlining policy. Note that this does not necessarily decrease application performance but may improve startup time.
If you create a multi-component application, that is, compile the application’s jar files into the executable and dynamic libraries, the effect of using the Startup Optimization Toolkit may be insignificant because the overhead of loading the libraries is not optimized.
The "Startup time optimization" chapter of the JET User’s Guide describe this technique in more detail and explains how to integrate the optimization into automated builds.
|
Home | Company | Products | Services | Resources | Blog | Contact Store | Downloads | Support | Forum | Blog | Sitemap © 1999-2011 Excelsior LLC. All Rights Reserved. |