GraalVM JavaScript is open source and regularly pushed to Maven Central Repository by the community. This document describes how to run GraalVM JavaScript on stock Java VMs, and shows how you can use the GraalVM compiler as a JIT compiler to guarantee the best possible performance. While the JIT compilers available on stock JVMs can execute and JIT-compile the GraalVM JavaScript codebase, they cannot optimize it to its full performance potential. When executed without the GraalVM compiler, JavaScript performance will be significantly worse. This guarantees best possible performance by using the GraalVM compiler as the optimizing compiler, and potentially Native Image to ahead-of-time compile the engine into a native binary.Īs GraalVM JavaScript is a Java application, it is possible to execute it on a stock Java VM like OpenJDK. GraalVM JavaScript is optimized for execution as part of GraalVM, or in an embedding scenario built on GraalVM.