Slow ClassLoaderReferenceImpl.findType

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 15
    • Affects Version/s: 15
    • Component/s: core-svc
    • None
    • b18

      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

            Assignee:
            Egor Ushakov
            Reporter:
            Serguei Spitsyn
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: