Chapter 1: Evolution of Java Virtual Machine
This chapter will walk you through the evolution of Java Virtual Machine (JVM), and how it optimized the interpreter and compiler. We will learn about C1 and C2 compilers and various types of code optimizations that the JVM performs to run Java programs faster.
In this chapter, we will cover the following topics:
- Introduction to GraalVM
- Learning how JVM works
- Understanding the JVM architecture
- Understanding the kind of optimizations JVM performs with Just-In-Time (JIT) compilers
- Learning the pros and cons of the JVM approach
By the end of this chapter, you will have a clear understanding of the JVM architecture. This is critical in understanding the GraalVM architecture and how GraalVM further optimizes and builds on top of JVM best practices.