Re:GraalVM
by bdibs on Sunday August 09, 2020 @11:28PM
(#24105201)
And is that with their javac or is it reserved only for their native image generation?
[ Parent
| on HN ]
In my experience, native image is noticeably slower than regular openjdk, at least for Scala. The start up speed is nice, though.
Re:GraalVM
by asymptotically2 on Monday August 10, 2020 @12:53AM
(#24105675)
You need to pay Oracle $lots for a GraalVM enterprise licence to get profile guided optimisations, if you want some of your peak performance back.
Twitter thinks otherwise, as they are the major consumer of GraalVM in production.
GraalVM is a JIT compiler for the most part. That's the one Twitter uses I believe. SubstrateVM is what lets you perform a closed world assumption ahead of time build. And that does indeed run left performant most of the time, but it uses less memory and starts faster.
Unless one feeds it with PGO data, just like it happens in most AOT workflows for optimizations like devirtualization.
Re:GraalVM
by secondcoming on Monday August 10, 2020 @04:36AM
(#24106913)
What part of production, do you know? Because mobile.twitter.com links are slow as hell to load
Twitter has a couple of talks about it.
https://jaxenter.com/graalvm-chris-thalinger-interview-16307...