Slide 7
Slide 7 text
© 2022 Neo4j, Inc. All rights reserved.
Michael Simons aka @rotnroll666 at Øredev 2022
Two execution modes
● JVM Runtime Mode
When running programs on the HotSpot JVM, GraalVM defaults to the GraalVM
compiler as the top-tier JIT compiler. At runtime, an application is loaded and
executed normally on the JVM. The JVM passes bytecodes for Java or any
other JVM-native language to the compiler, which compiles that to the machine
code and returns it to the JVM.
● Native Image
Native Image compiles Java code into a standalone native executable or a
native shared library. The Java bytecode that is processed during the build of a
native executable includes all application classes, dependencies, third party
dependent libraries, and any JDK classes that are required.