How to speed up Java VM (JVM) startup time?

后端 未结 6 1229
时光说笑
时光说笑 2020-11-30 02:43

I am running tests that start multiple JVM processes. Summary startup time of JVMs is quite significant compared to time of actual tests that run inside JVM. How do I speed

6条回答
  •  自闭症患者
    2020-11-30 02:52

    To add to what has been said by others, next version of Java (Java 7 Java 8 Java 9) should add a new improvement in JVM start-up times, due to modularization of the platform, according to this link.

    Quote:

    One benefit of modularization is that the platform is a smaller download, potentially improving start-up performance. Having a smaller memory footprint also enables significant performance improvements, especially for desktop applications.

提交回复
热议问题