JSR 292 invokedynamic sites need local bootstrap methods

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • hs19
    • Affects Version/s: 7
    • Component/s: hotspot
    • b05
    • generic
    • generic
    • Verified

        In order to be compositional, invokedynamic instructions should individually specify their linkage semantics, in the form of a reference to a bootstrap method.

        This is fairly straightforward, since (a) the constant pool already contains method handle references, and (b) the invokedynamic index can be treated as an ordered pair of BSM and NameAndType, just as an invokevirtual index is treated as an ordered pair of class and NameAndType.

        The Java language support will need a way (presumably based on JSR 308 annotations) to specify the bootstrap methods.

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

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: