Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8318124

JFR: Rewrite instrumentation to use Class-File API

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P3
    • 22
    • 22
    • hotspot
    • None
    • jfr
    • b21

    Description

      Today, the ASM framework dynamically generates bytecode to commit events into thread local buffers. Plan is to modify the code generation process to enable user-defined events to selectively opt-out of event thread, stack trace, and duration fields. JVM events already have this capability.

      Before doing the bytecode generation changes, it make sense to rewrite it using the new Class-File API. This minimizes necessary code modifications and simplifies the implementation of the opt-out mechanism.

      Attachments

        Issue Links

          Activity

            People

              egahlin Erik Gahlin
              egahlin Erik Gahlin
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: