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.

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

              Created:
              Updated:
              Resolved: