jbreak JBreak 2017 (04.04.2017 — 04.04.2017)

Compile ahead of time. It's fine?

img

How Graal is used for static (AOT) compilation to the Hotspot, how to deal with it, and what performance to expect at the moment.

Static (ahead-of-time) compilation of code appeared in Oracle JDK 9. We have already discussed why this is necessary, and the scope of the current implementation. Now it makes sense to talk about the technical details. What information is generated by the AOT and how it is generated, how compiled AOT code interacts with Hotspot? What you can do with AOT-code by external tools, and how to infiltrate into the compilation process? And of course, what grips to twist, and what will be the performance with AOT?