Summary
In this chapter, we went through Graal JIT and Ahead of Time compilers in detail. We took a sample code and looked at how Graal JIT performs various optimizations using the Ideal Graph Visualizer. We also went through Graal Graphs in detail. This is very critical knowledge that will help you analyze and identify optimizations that can be applied during development to speed up Graal JIT compilation at runtime.
In this chapter, you have gained a detailed understanding of the internal workings of Graal JIT compilation, and how to fine-tune Graal JIT. You also have gained a good understanding of how to use some of the advanced analysis and diagnosis tools to debug Graal JIT compilation, and identify opportunities to optimize the code.
In the next chapter, we will take a more detailed look at Graal Ahead of Time compilation.