Awesome
GraalVM Native Image Workshop
Overview
A GraalVM Workshop that will introduce Native Image & demonstrate some of the things that you can do with it,
The workshop is divided into a number of sub-pages, each largely self-contained, that cover one aspect of GraalVM Native Image. Some of these workshops are equally applicable to the Community Edition & the Enterprise Edition, but some focus on functionality that is only available within the Enterprise Edition, such as Profile Guided Optimisations.
Credits
This workshop is a fork from shelajev/workshop, so full credit must go to him.
Install GraalVM
The instructions to install GraalVM can be found online here.
The prerequsites for getting the native image component working are described in the docs.
This workshop assumes that you are using either Linux or Mac, but is equally applicable to Windows. You might just have
to adpat it, for example the bash
shell script sections etc may need to be updated.
Table of Contents
- What is Native Image?
- Building a simple GraalVM native image
- Assisted configuration for GraalVM native image
- Class initialization strategy for GraalVM native image
- Smaller deployment options for GraalVM native image
- Deployment options for GraalVM native images
- Configuring memory used by GraalVM native images
- GC options for GraalVM native image
- Profile guided optimizations for GraalVM native image
Extra sessions on GraalVM EE JIT Performance & Polyglot