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

JFR: Rewrite instrumentation to use Class-File API

XMLWordPrintable

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

      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.

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

              Created:
              Updated:
              Resolved: