Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8024649 Umbrella: Lambda linkage performance
  3. JDK-8024637

Avoid of usage ASM.Type from InnerClassLambdaMetafactory; lambda linkage performance improvement

XMLWordPrintable

    • b115
    • generic
    • generic

      InnnerClassLambdaMetafactory heavily used ASM.Type. The general purposes are:
      - getting parameter size,
      - getting correct opcode for LOAD and RETURN operation,
      - making Type's String description,
      - generating proper conversions from TypeConvertingMethodAdapter.
      All that gives a significant performance overhead.
      Attached webrev contains improvements where all actions above are implemented using standard "Class<?>" structures.
      As result we get +3% - +10% performance improvement to lambda linkage.

        1. webrev.zip
          125 kB
        2. webrev01.zip
          126 kB

            briangoetz Brian Goetz
            skuksenko Sergey Kuksenko
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: