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

Improve Speed of ElfDecoder source search

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Unresolved
    • P4
    • tbd
    • None
    • hotspot

    Description

      ElfDecoder source search (dwarf scanning) is really slow. My preliminary perf analysis suggests we spend ~40% in file reads.

      Source search is used during call stack printing when we crash and write the hs-err file, and for NMT detail reports. Especially for the former case speed is important. VMs must finish writing the error log quickly in order for the customer to be able to restart the java service. That is why we limit error log printing time (ErrorLogTimeout).

      The task is to analyze performance more in depth and to check if we can improve this (e.g. by caching somewhere).

      Attachments

        Issue Links

          Activity

            People

              szaldana Sonia Zaldana Calles
              stuefe Thomas Stuefe
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: