Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/marschall/jfr-maven-extension

a Maven extension generates JFR events for a Maven build
https://github.com/marschall/jfr-maven-extension

java-flight-recorder maven

Last synced: 3 days ago
JSON representation

a Maven extension generates JFR events for a Maven build

Awesome Lists containing this project

README

        

JFR Maven Extension [![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.github.marschall/jfr-maven-extension/badge.svg)](https://maven-badges.herokuapp.com/maven-central/com.github.marschall/jfr-maven-extension)
===================

This Maven extension generates JFR events for a Maven build.

Usage
-----

```xml



com.github.marschall
jfr-maven-extension
0.1.1

```

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

```xml
0
```

in the configuration of the `maven-surefire-plugin`

Screenshot
----------

Sample Screenshot