Java / GraalVM Interview questions
What is GraalVM?
GraalVM is a high-performance runtime distributed by Oracle that extends the JVM with a new just-in-time compiler and the ability to run non-JVM languages on the same runtime.
At its core sit two pieces: the Graal compiler, a JIT written in Java that replaces or augments HotSpot's C2 compiler, and the Truffle framework, which lets interpreters for languages like JavaScript, Python, Ruby, and R run on top of the same compiler infrastructure.
On top of that, GraalVM ships Native Image, a tool that ahead-of-time compiles a Java application into a standalone native executable, removing the JVM startup and warm-up cost entirely.
In short, it is one runtime that can act as a faster drop-in JVM, a polyglot execution engine, and a native-executable compiler.
More Related questions...