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

    Details

    • Subcomponent:
    • Resolved In Build:
      b115
    • CPU:
      generic
    • OS:
      generic

      Description

      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.

        Attachments

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

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: