JDK-8196393 : JFR Java API must support recording methods
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: jfr
  • Affected Version: 11
  • Priority: P3
  • Status: Resolved
  • Resolution: Won't Fix
  • Submitted: 2018-01-30
  • Updated: 2020-08-19
  • Resolved: 2020-01-17
Related Reports
Blocks :  
Relates :  
Description
With more and more of the JVM subsystems being written in Java (Graal, Metropolis), it becomes increasingly important that the Java API for recording custom events supports the same content types that the native API supports. This particular bug requests that the <value type="Method"> would be supported, but there could be others that would be relevant.

This came out of a discussion with the Graal team, who wants to be able to emit events with the same event layout as the JDK Compiler event.
Comments
Graal will use the JVMCI API to emit events in native (with proper representation of methods), so I am closing this as WNF
17-01-2020