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

factor duplicated assembly code for megamorphic invokeinterface (for 6655638)

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P3 P3
    • hs15
    • 7
    • hotspot
    • None
    • b03
    • generic
    • generic

        The assembly code for megamorphic invokeinterface is duplicated (with minor variations) in vtableStubs and templateTable. In order to control the code shape more directly, we will factor it into a new subroutine MacroAssembler::lookup_interface_method.

        This will let us use the subroutine in a new places, such as code for a direct method handle to an interface method.

        It will also provide a single point (per CPU) to add enhancements to interface invocation, such as for the interface injection project.

              jrose John Rose
              jrose John Rose
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: