News for hackers. Stuff that matters.
Re:From Java to Go, and Back Again (2016) by thermodynthrway on Saturday June 23, 2018 @03:06PM (#17382823)
This is actually being addressed, eventually. There's work being done to lower the startup time in Java 9-10 but I'm not sure what state it's in. Basically cache everything from the first run to make future launches almost instant
Re:From Java to Go, and Back Again (2016) by ptx on Monday June 25, 2018 @02:00AM (#17390185)
I played around a bit with that, i.e. app class-data sharing and AOT compilation. It turns out Java 9 comes with an enormous regression in launch performance, so that even with app CDS enabled it is slower than Java 8 to start.

Java 10 is slightly better but still slower than Java 8 by default. Enabling app CDS gets you back to comparable performance to Java 8. With AOT enabled (in addition to app CDS) it might be faster, but that just crashes on machine (and only works on Linux anyway).

So don't get your hopes up too much.