Uploaded image for project: 'Byteman'
  1. Byteman
  2. BYTEMAN-335

Make more efficient use of method handles

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 4.0.0-BETA3
    • None

      The latest 4.0.0 release uses method handles instead of reflection to access members when running on JDK9+. Current usage relies on invoking the handle indirectly through the helper class's rule. This does not allow the handle to be optimized inline into the bytecode generated when a rule is compiled. The method handles should really be installed as final static fields of the rule's compiled helper class to facilitate this optimization.

            rhn-engineering-adinn Andrew Dinn
            rhn-engineering-adinn Andrew Dinn
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: