How to install JITwatch in Linux system?

Time: 2017-05-11Source: Huajun News NetworkAuthor: Aotuman

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

How to install JITwatch in Linux system?

1. Install and run JITwatch

1. Download jitwatch

(The premise is that you have installed git. If you have not installed git and don’t want to install it, you can download it directly from github.

2. Enter the jitwatch directory

cd jitwatch

(If you downloaded the zip package on the page, go to the decompressed file)

3. Build and install

mvn clean install -DskipTests=true

(provided you have maven installed)

4. Run jitwatch

./launchUI.sh

2. Install hsdis

If you want to see the JIT 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: hsdis-amd64.so

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

       Okay, the above is all the content brought to you by the editor of Huajun. Isn’t it very simple? Have you learned it? If you want to know more related content, please pay attention to Huajun information at any time. Welcome to Huajun to download!

Related articles更多>>

Popular recommendations