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

deduplicate lambda methods

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P3 P3
    • 11
    • 8-pool, 9-pool, 10-pool
    • tools
    • None
    • b07

      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.

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

              Created:
              Updated:
              Resolved: