3 ms·
> The JVM itself starts quite fast. Most of the time spent in startup comes from the applications themselves. Jar unpacking can contribute quite a bit to start
by bluejekyll 10y ago
> The JVM itself starts quite fast. Most of the time spent in startup comes from the applications themselves.
Jar unpacking can contribute quite a bit to startup times. It would be neat if this also did a pre-linked library as well.
- lern_too_spel 10y agoAn optional link step at build time is coming in Java 9. http://openjdk.java.net/jeps/282 http://openjdk.java.net/jeps/282
- paulddraper 10y agoSo if you use .class files instead of .jar files, you'll start up significantly quicker?
- bluejekyll 10y agoYes. In fact many systems unpack jars to a temporary directory first for this reason. edit: I should add that this really only matters for large numbers and sizes of jars.