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

Reduce cost of InvokerBytecodeGenerator::isStaticallyInvocable/-Nameable

XMLWordPrintable

      When generating LF classes with InvokerBytecodeGenerator, almost 5% of executed code is concerned with determining if members and parameters are statically invocable and/or nameable, which we can assert is always true for MethodHandle arguments.

      Since MethodHandle targets and parameters are common, it's a profitable startup optimization to add a fast-path test for this.

            redestad Claes Redestad
            redestad Claes Redestad
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: