Why is the JVM slow to start?

后端 未结 8 1828
耶瑟儿~
耶瑟儿~ 2020-12-13 12:42

What exactly makes the JVM (in particular, Sun\'s implementation) slow to get running compared to other runtimes like CPython? My impression was that it mainly has to do wit

8条回答
  •  被撕碎了的回忆
    2020-12-13 13:12

    Here is what Wikipedia has to say on the issue (with some references).

    It appears that most of the time is taken just loading data (classes) from disk (i.e. startup time is I/O bound).

提交回复
热议问题