Description
Feature request
It would be great to make javac faster, and it looks like GraalVM could improve it.
The idea is that JDK image could include the compiled binaries for javac, so the users do not spend time on JIT-compiling javac.
Describe the solution you'd like.
Build native images for javac, and include them into jdk image.
It might be that -processor
would require classloading, so javac
should be modified to fallback to the current Java-based implementation.
I believe it could be completely transparent for the end-users.
Describe who do you think will benefit the most.
Java developers.
Describe alternatives you've considered.
One could consider building native-images on their own, however, the users would have to build images for every jdk distribution.
Express whether you'd like to help contributing this feature
I might be interested in contributing (code, benchmarks)