Setup environment
In this section, we will set up all the prerequisite tools and environments that are required to follow on with the rest of the chapter.
Installing OpenJDK Java
You can install OpenJDK from https://openjdk.java.net/install/. This URL has detailed instructions on how to install OpenJDK. We also require JavaFX. Please refer to https://openjfx.io/ for more details on how to install JavaFX.
Installing JITWatch
JITWatch is one of the most widely used log analysis and visualization tools for understanding the behavior of the JIT compiler. This is also widely used in analyzing the code and identifying opportunities for better performance tuning.
JITWatch is an active open source project hosted at https://github.com/AdoptOpenJDK/jitwatch.
The typical commands for installing JITWatch are as follows:
git clone git@github.com:AdoptOpenJDK/jitwatch.git cd jitwatch mvn clean install -DskipTests=true ./launchUI.sh