~/talk

Compiling a Compiler, or How We Doubled the Speed of the Java Compiler (javac)

TalkinRussianat JPoint 2025 · 2025-04-03..04-04· [java]
links:none on file
slides:none on file

The talk describes how Axiom JDK used Axiom NIK Pro AOT compilation to convert javac into native machine code, doubling compilation speed and reducing memory and CPU use. The approach works because javac mostly avoids Java Reflection; when reflection-based features (like -processor) are needed, the launcher falls back to the standard Java javac. The presentation includes statistics, alternative optimization methods for Java applications, and discussion of CI resource savings.

AI-written summary · about

  1. 0:00Introduction
  2. 1:04Faster builds motivation
  3. 3:07What is compilation
  4. 6:39Compiler pipeline stages
  5. 11:59javac as Java app
  6. 16:17Goal: faster javac
  7. 17:21Bootstrapping javac
  8. 18:03CDS for javac
  9. 19:09Profiling javac with perf
  10. 21:41AOT compilation approach
  11. 23:06Native javac with AOT
  12. 24:31Benchmarking native javac
  13. 27:02Testing in Docker
  14. 29:06Maven/Gradle comparison
  15. 31:58Limitations and trade-offs
  16. 33:01Results and benefits
  17. 34:07When to use AOT javac
  18. 35:12Q&A
  19. 36:38Q&A: Personal usage
  20. 36:59Q&A: Optimization time
  21. 37:40Q&A: Cloud functions
  22. 38:02Q&A: Performance impact
  23. 38:22Q&A: 20% speedup source
  24. 39:25Q&A: Liqor usage
  25. 40:51Q&A: AOT for regular apps
  26. 41:32Q&A: Monitoring native javac
  27. 42:15Q&A: Compilation server
  28. 43:39Q&A: Top 3 optimizations
  29. 44:00Q&A: GraalVM comparison
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.