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

Use more efficient LambdaForm type representation

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 9
    • 9
    • core-libs

      During LambdaForm construction, LambdaForm type is usually constructed from String representation:
      jdk/src/java.base/share/classes/java/lang/invoke/LambdaForm.java:
          MethodType methodType() {
              return signatureType(basicTypeSignature());
          }

      The more efficient way is to directly construct LambdaForm type and not bother with intermediate String representation.

            mhaupt Michael Haupt
            vlivanov Vladimir Ivanov
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: