JDK-8221569 : JFR tool produces incorrect output when both --categories and --events are specified
  • Type: Bug
  • Component: hotspot
  • Sub-Component: jfr
  • Affected Version: 13
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2019-03-27
  • Updated: 2020-08-13
  • Resolved: 2019-05-10
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 13 Other
11.0.6Fixed 13 b21Fixed openjdk8u272Fixed
Description
CSR: JDK-8205517, the "Print" section:

  "If a combination of a category filter and event filter is used, the selected events will be the union of the two filters. For example, to show all GC events and the CPULoad event the following command could be used:"

jfr print --categories GC --events CPULoad recording.jfr


On recording with GC events and CPULoad events, and tried the command above. The result: I ONLY see CPULoad events, and not GC events. 


Comments
adding request on behalf of Ekaterina Vergizova (katya@azul.com) Fix request for 8u: JFR issue, the patch applies cleanly after adapting to jdk8 layout, tier1 and relevant JFR jtreg's tests passed.
20-07-2020

adding request on behalf of Ekaterina Vergizova (katya@azul.com) Fix request for 11u: JFR issue, the patch applies cleanly, relevant JFR jtreg's tests passed.
05-09-2019