GitXplorerGitXplorer
y

jitwatch-intellij

public
169 stars
19 forks
8 issues

Commits

List of commits on branch master.
Verified
7f122a223d98b2debc6f48be9cf6a3c2fea72c1a

Merge pull request #10 from bashor/patch-1

yyole committed 3 years ago
Verified
a1915f95eaca8363f694b64b0662b59312f44571

Fix the link to a demo video

bbashor committed 3 years ago
Unverified
8b7f9c95c7aa04b51359559f494ac1c7f1778ca9

added youtube video link

yyole committed 8 years ago
Unverified
8ac9422921de20e7e1fc9d9e028c0a02a239f4e7

add Apache license

yyole committed 8 years ago
Unverified
b1e900a1cb51257d7a89385bf86233a08e0345b2

specify path to javap explicitly

yyole committed 8 years ago
Unverified
9f41f482bb7588f2c11eec469f090abc60da2109

don't try to annotate source file when no model is loaded

yyole committed 8 years ago

README

The README file for this repository.

JITWatch Plugin for IntelliJ IDEA

The plugin can be used to view and analyze HotSpot JIT compilation logs inside IntelliJ IDEA. It uses JITWatch to load and analyze the logs and provides a UI for exploring the compilation data directly in your code editor.

Video Demo

Here is a video of a demo of the JITWatch plugin, recorded at the JVM Language Summit 2016.

Creating and Loading the Compilation Log

The simple option for creating and loading the compilation log is to enable the "Log compilation" option in the "JITWatch" tab of the run configuration settings.

If you enable the option, the plugin will create a HotSpot log in a temporary directory and automatically load it after the execution completes.

Alternatively, you can add the logging options to the VM options of your run configuration, and then load the log file manually using the Analyze | Load HotSpot Compilation Log... menu item. To enable logging, you need the following options:

-XX:+UnlockDiagnosticVMOptions
-XX:+TraceClassLoading
-XX:+LogCompilation

The plugin does not support viewing the assembly code at this time, so you shouldn't enable the -XX:+PrintAssembly option.