FS#67316 - [jdk8-openjdk] Add flight recorder

Attached to Project: Arch Linux
Opened by Dmytro (alkersan) - Saturday, 18 July 2020, 10:51 GMT
Last edited by Andreas Radke (AndyRTR) - Friday, 07 May 2021, 08:38 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To Levente Polyak (anthraxx)
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
There was an announcement that Flight Recorder was merged into openjdk 8 earlier this year (https://www.infoq.com/news/2020/02/jfr-coming-to-openjdk-8/).
From my experience this might be a major reason to use oracle jdk if one is still bound to java 8.
While it's not enabled by default it would be great to add --enable-jfr to configure options. I've checked it on 8.u262 release and can confirm that it works.

Steps to reproduce:
- Add --enable-jfr to configure options
- makepkg
- start flight recording on any java application either from Java Mission Control or with flags like -XX:StartFlightRecording=filename=flight.jfr
This task depends upon

Closed by  Andreas Radke (AndyRTR)
Friday, 07 May 2021, 08:38 GMT
Reason for closing:  Fixed
Additional comments about closing:  This behavior was enabled by default in the upstream https://bugs.openjdk.java.net/browse/JDK -8246384

Loading...