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

deduplicate lambda methods

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 8-pool, 9-pool, 10-pool
    • Fix Version/s: 11
    • Component/s: tools
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b07

      Description

      The goal of this enhancement is to deduplicate lambda implementation methods for lambda expressions declared in the same file that have the same target type, captured state, and body. This change adds a
      utility for hashing and comparing trees that is used to perform the
      deduplication. Deduplication is not performed if debug info is enabled, to preserve the accuracy of local variable and line number debug info. Serializable lambdas are not considered for deduplication.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              cushon Liam Miller-Cushon
              Reporter:
              vromero Vicente Arturo Romero Zaldivar
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: