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

Slow ClassLoaderReferenceImpl.findType

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • 15
    • 15
    • core-svc
    • None
    • b18

    Description

      The following was reported Egor Ushakov (JetBrains).

      The com.sun.tools.jdi.ClassLoaderReferenceImpl#findType may be slow because ClassLoaderReferenceImpl#visibleClasses does not populate signature and we check it for every class in the loop just after, so requesting all unavailable signatures one by one.

      The suggested fix is:
        https://github.com/JetBrains/JetBrainsRuntime/commit/ae823a660ba5ee48ac4d010723b8e33b0db9612b

      Attachments

        Issue Links

          Activity

            People

              eushakov Egor Ushakov
              sspitsyn Serguei Spitsyn
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: