> 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.)
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.
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.
turtleyacht|2 years ago
> 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.)
brucethemoose2|2 years ago
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.
brucethemoose2|2 years ago
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.