3 ms·
GraalVM is HotSpot. The SubstrateVM used in native-image has a lot of limitations and performance that can match regular HotSpot with C2 is something you have t
by thu2111 6y ago
GraalVM is HotSpot. The SubstrateVM used in native-image has a lot of limitations and performance that can match regular HotSpot with C2 is something you have to pay for.
HotSpot is a pretty great codebase actually. It's very easy to read compared to the CLR. The issue with it isn't that it's bad code or fragile, it's just that it's very complex, but they're reducing complexity over time by removing obsolete optimisations (obsolete, or so they argue).
The SVM codebase is also nice but it's a very different model. Over time the codebases may be merging, as Graal the compiler gradually replaces C2. But that could easily take a decade.