How to install JITwatch in Linux system?

  
                

JITwatch is a code analysis tool for Linux systems. To use JITwatch, you must first install it in Linux. This article will introduce how to install JITwatch in Linux system.

First, install and run JITwatch

1. Download jitwatch

(provided that you have installed git, git if not installed, do not want to install, you can Go directly to github and download

2. Go to the jitwatch directory

cd jitwatch

(If you downloaded the zip package on the page, go to the extracted file)< Br>

3. Build the installation

mvn clean install -DskipTests=true

(provided you have maven installed)

4. Run jitwatch

./launchUI.sh

Second, install hsdis

If you want to see JIT's disassembly code through jitwatch, you need to install hsdis. Installation method:

1. Download hsdis

2. Modify the name of the downloaded file and put the file into the corresponding directory

(1) Rename the downloaded file to: hsdis-amd64.so

(2) Put the renamed file into the JAVA_HOME/jre/lib/amd64/server directory

The above is how to install JITwatch in Linux system. Shao up, JITwatch and other software installation is slightly different, so this article focuses on it.

Copyright © Windows knowledge All Rights Reserved