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

Reuse previous chunk when parsing JFR files

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Won't Fix
    • P3
    • tbd
    • 13
    • hotspot
    • None
    • jfr

    Description

      A Flight Recorder file (.jfr) consists of one or more chunks. Each chunk contains metadata, such as event names, field layout etc., and a set of JFR constant pools containing stack traces, threads, classes etc.

      Metadata typically don't change between chunks and it's therefore possible to avoid parsing it twice. Constants are also often the same between chunks, so if a known id is found, it could use what was parsed previously

      This will reduce allocation pressure and speed up parsing of JFR files.

      This enhancement will help the work for "JEP 349: JFR Event Streaming", but not dependent on streaming being implemented.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: