JDK-8205516 : JFR tool
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: jfr
  • Affected Version: 11
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2018-06-22
  • Updated: 2020-06-26
  • Resolved: 2018-12-05
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 11 JDK 12 Other
11.0.6-oracleFixed 12 b24Fixed openjdk8u262Fixed
Related Reports
CSR :  
Relates :  
Relates :  
Relates :  
Description
F��r details, see CSR
https://bugs.openjdk.java.net/browse/JDK-8205517

Comments
Replacing jdk8u-fix-request with link to JDK-8239140
17-02-2020

RFC: https://mail.openjdk.java.net/pipermail/jdk8u-dev/2020-January/011063.html
30-01-2020

Hi Christoph; that sounds great to me. Thank you for all your help here!
28-08-2019

Hi Jie, I will push this for you to jdk11u-dev, along with JDK-8214925 and JDK-8214896, after 11.0.5 was branched.
26-08-2019

I think it's fine to wait for 11.0.6. I intend to wait until then before requesting this be pushed in my stead.
20-08-2019

I'm wondering whether we should wait for 11.0.6 with this (e.g. push in 2 weeks after 11.0.5 is branched to jdk11u)
20-08-2019

Fix Request (11u): Backporting this patch adds JFR tool. See Erik's comment above for more reasoning. Patch does not apply cleanly and review thread was opened: http://mail.openjdk.java.net/pipermail/jdk-updates-dev/2019-August/001650.html Backport should be pushed together with: JDK-8214925: JFR tool fails to execute JDK-8214896: JFR Tool left files behind Also, backport should be pushed once 11.0.6 is open to match Oracle's backport to their 11.0.6 line.
12-08-2019

Jie Kang of Red Hat is working on a backport for OpenJDK 11.
26-04-2019

The attached jfr-tool.patch contains changes to backport this to JDK 11. It relies on that JDK-8209960, JDK-8212232, JDK-8213966 and JDK-8215175 have been backported as well.
29-01-2019

Fix Request: Flight Recorder can be used to diagnose JVM issues, and the JFR tool will allow support engineers (and others) to print Flight Recorder data easily, on all platforms, and in scenarios where a graphical client can���t be used. The tool is also important for demonstrating how JFR can be used, in documention and presentations, where JMC is not an alternative. There are 9 units tests located in test/jdk/jdk/jfr/tool that covers the implementation. It's a low risk change since it is an external tool which you have to invoke from command line to use. Accompanying this enhancements are two follow up bug fixes that should be integretaed at the same time. JDK-8214925: JFR tool fails to execute JDK-8214896: JFR Tool left files behind
03-01-2019

Fix is out for review. See https://bugs.openjdk.java.net/browse/JDK-8214896
05-12-2018

This appears to have broken the build. /usr/local/google/home/martinrb/ws/sync166/src/jdk.jfr/share/classes/jdk/jfr/internal/cmd/SummaryCommand.java:119: error: cannot find symbol totalDuration += ch.getDuration(); ^ symbol: method getDuration() location: variable ch of type ChunkHeader
05-12-2018