3 ms·
The JVM is primarily used for backend server processes that run 24/7. Instant startup time is irrelevant in that context and so it was never a design objective.
by Jimmy123456789 7y ago
The JVM is primarily used for backend server processes that run 24/7. Instant startup time is irrelevant in that context and so it was never a design objective. The HotSpot VM is specifically designed and optimized for long running server processes https://www.oracle.com/technetwork/java/whitepaper-135217.html#hotspot https://www.oracle.com/technetwork/java/whitepaper-135217.ht...
- ptx 7y agoAre you sure it "was never a design objective"? Clearly the objective was never achieved, but since Java was initially aimed at set-top boxes, tablet-like devices and web browser applets (all interactive client-side applications) it would be strange to design it exclusively for server-side batch processing.
- Jimmy123456789 7y ago~100 milliseconds startup is good enough for those applications. ~10ms startup is not specified as one if its design goals https://www.oracle.com/technetwork/java/intro-141325.html https://www.oracle.com/technetwork/java/intro-141325.html edit: and as I mentioned above, the HotSpot VM is specifically, explicitly optimized for long running applications.