GR

GraalVM Tooling

Build and diagnostic tools for GraalVM

Details

Language / Topic
graalvmGraalVM
Category
Tooling

Rules

balanced
- Use `native-image --diagnostics` for build-time analysis and optimization hints.
- Use GraalVM VisualVM for JIT mode profiling, `native-image-inspect` for AOT analysis.
- Use `native-image` to compile Java to native binaries — configure reflection with `reflect-config.json` for frameworks that use it.
- Use `-H:+ReportExceptionStackTraces` during development for better native-image error messages.
- Cache native-image builds in CI — they are slow (minutes) but the output is deterministic.