Can Java cold-start?

A GraalVM based HTTP service

In this installment of the series we are using examples created using just GraalVM to cold start a HTTP server.

If you want to run the experiment yourself you can download the example.tar.gz file.

Example Process start Process ready Process total
Example 41 - GraalVM 57 ms 39 ms 96 ms

These numbers were collected on a Mac Mini M1 with 16GB using Java 17

Note the generated x86 binary causes Rosetta2 to be used as there currently is no native M1 support for GraalVM


If you have any comments, suggestions or concerns, please start a discussion on GitHub.

Posted November 8th, 2021