Goals available for this plugin:
| Goal | Description |
|---|---|
| jarscan:allocationCount | Count the most allocated types. |
| jarscan:help | Display help information on jitwatch-jarscan-maven-plugin. Call mvn jarscan:help -Ddetail=true
-Dgoal=<goal-name> to display parameter details. |
| jarscan:instructionCount | Count occurrences of each bytecode instruction. |
| jarscan:invokeCount | Count the most called methods for each invoke instruction. |
| jarscan:maxMethodSize | List every method with bytecode larger than specified limit. |
| jarscan:methodlength | List methods of the given bytecode size. |
| jarscan:methodSizeHisto | List frequencies of method bytecode sizes. |
| jarscan:nextInstructionFreq | List the most popular next instruction for each bytecode instruction. |
| jarscan:scan | Deprecated. Use the goal maxMethodSize with
-Dlimit=325 or your previously chosen
freqInlineSize. |
| jarscan:sequenceCount | Count instruction sequences. |
| jarscan:sequenceSearch | List methods containing the specified bytecode sequence. |
The following specifies the minimum requirements to run this Maven plugin:
| Maven | 2.0 |
| JDK | 1.7 |
| Memory | No minimum requirement. |
| Disk Space | No minimum requirement. |
You should specify the version in your project's plugin configuration:
<project>
...
<build>
<!-- To define the plugin version in your parent POM -->
<pluginManagement>
<plugins>
<plugin>
<groupId>com.github.ferstl</groupId>
<artifactId>jitwatch-jarscan-maven-plugin</artifactId>
<version>1.1</version>
</plugin>
...
</plugins>
</pluginManagement>
<!-- To use the plugin goals in your POM or parent POM -->
<plugins>
<plugin>
<groupId>com.github.ferstl</groupId>
<artifactId>jitwatch-jarscan-maven-plugin</artifactId>
<version>1.1</version>
</plugin>
...
</plugins>
</build>
...
</project>
For more information, see "Guide to Configuring Plug-ins"