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

Optimize sun.invoke.util.BytecodeDescriptor.unparse

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 16
    • Fix Version/s: 16
    • Component/s: core-libs
    • Labels:

      Description

      sun.invoke.util.BytecodeDescriptor.unparse seems to unnecessarily create a StringBuilder and checks for the given type to be of Object.class twice in certain scenarios.

      See: https://mail.openjdk.java.net/pipermail/core-libs-dev/2020-August/068174.html

        Attachments

          Activity

            People

            Assignee:
            rriggs Roger Riggs
            Reporter:
            rriggs Roger Riggs
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: