Oracle introduces free license for GraalVM
infoworld.com> GraalVM compiles Java applications ahead of time into standalone binaries that start up faster and use less memory and CPU than applications running on the standard OpenJDK JVM.
> Oracle said it will continue to provide GPL-licensed GraalVM Community Edition releases under the same terms as Oracle builds of OpenJDK.
This feels like a win-win if folks move from OpenJDK 8 and 11 to 17, 20, and beyond.
Any immediate downsides? (Of course, best thing to do is measure it.)
You mean Graal AOT?
For one thing, it doesn't support many features, like reflection.
For another, its slower than Java JIT after the warm up period.
Graal AOT is for small programs that need to start up and warm up fast, and consume as little memory as possible. But JIT is better for big, long running apps.
However, GraalVM JIT is also faster than OpenJDK.
Thank-you. Reflection and web services (long-lived) are pretty big ones, the former for annotations, aspects, and mutation testing.
(Assuming one or more of those use reflection.)
FINALLY
Maybe Minecraft will switch to GraalVM now... With some interesting moddability and performance implications.
I personally have seen some dev interest in GraalVM compiler development. But it instantly gets sapped away once the devs find out compiler contributions get sucked up into Enterprise Edition.