Skip to content

Latest commit

 

History

35 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JFR Maven Extension Build Status Maven Central Javadocs

This Maven extension generates JFR events for a Maven build.

Usage

<build>
  <extensions>
    <extension>
      <groupId>com.github.marschall</groupId>
      <artifactId>jfr-maven-extension</artifactId>
      <version>0.2.0</version>
    </extension>
  </extensions>
</build>

To create a recording you need the following or similar options

export MAVEN_OPTS="-XX:StartFlightRecording:filename=recording.jfr -XX:FlightRecorderOptions:stackdepth=256"

If you want to have the unit test execution in the same recording you need to set

<forkCount>0</forkCount>

in the configuration of the maven-surefire-plugin

Screenshot

Sample Screenshot

About

a Maven extension generates JFR events for a Maven build

Topics

Resources

Stars

4 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages