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

(reflect) java.lang.reflect.Method should use java.lang.invoke.MethodHandle

    Details

    • Type: Enhancement
    • Status: In Progress
    • Priority: P3
    • Resolution: Unresolved
    • Affects Version/s: 7, 8
    • Fix Version/s: tbd
    • Component/s: core-libs
    • Labels:

      Description

      Java 7 has method handles as part of JSR 292 (bug 6655638). Reflective method call should be reimplemented on top of method handles, to provide a more direct call path to the target method.

      With method handles there is no need to create adapter classes for calling methods. The JVM can link directly to any method using a direct method handle. This involves no class loading.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                plevart Peter Levart
                Reporter:
                jrose John Rose
              • Votes:
                0 Vote for this issue
                Watchers:
                9 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Imported:
                  Indexed: