Falcon — the new JIT compiler in Zing JVM
summary
Falcon is a new JIT compiler for the Zing JVM that replaces the C2 compiler and is built on LLVM to improve peak Java performance. The talk explains challenges of adapting LLVM (traditionally for static C/C++ compilation) to JIT Java, covering support for garbage collection, deoptimizations, and Java-specific optimizations. It also explains why the team chose to create a new compiler instead of evolving C2 and gives examples of performance improvements on Java code.
AI-written summary · about
chapters (16)
- 0:00Introduction
- 1:11New JIT compiler
- 2:58Falcon in Zing JVM
- 8:14Choosing LLVM
- 10:04What is LLVM
- 12:55Integrating LLVM
- 13:37Custom optimizer Arka
- 14:39Querying JVM
- 16:46Debugging crashes
- 19:55Java JIT in LLVM
- 21:00GC support
- 28:32Speculative optimizations
- 34:11Optimizing Java semantics
- 37:45Contributing to LLVM
- 39:31Benchmarks
- 42:00Q&A
