Uploaded image for project: 'controller'
  1. controller
  2. CONTROLLER-667

Reflection-based calls: use MethodHandle instead of Method.invoke()

    XMLWordPrintable

Details

    • Improvement
    • Status: Resolved
    • Resolution: Done
    • Helium
    • None
    • mdsal
    • None
    • Operating System: Linux
      Platform: PC

    Description

      MethodHandle is Java 7's optimized API for dynamically invoking methods. It allows for completely eliminating overhead associated with boxing/unboxing of arguments. We rely on Method.invoke() in a few performance-critical places, so it makes sense to squeeze it a bit more.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            Unassigned Unassigned
            rovarga Robert Varga
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: