Hacker News new | past | comments | ask | show | jobs | submit login

As I understand it, a big part of the slow load time for Java apps is sucking everything on the classpath into RAM, even though most apps will use a fraction of the classes that are loaded.

Java 9's module system should make that a lot less of a problem by giving the JVM guidance on what it should load and skip.

I am not a Java expert, though, so I may have misunderstood what's going on.




The JVM class loader by default reads a class on first reference to it in the code it's executing. Never refer to it, never gets loaded.

Startup on the JVM is more affected by the JIT warming up, and the heap getting into a "stable" configuration.


Thanks for the correction.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: