Layered method dispatch with INVOKEDYNAMIC: an implementation study

  • Authors:
  • Malte Appeltauer;Michael Haupt;Robert Hirschfeld

  • Affiliations:
  • University of Potsdam, Germany;University of Potsdam, Germany;University of Potsdam, Germany

  • Venue:
  • Proceedings of the 2nd International Workshop on Context-Oriented Programming
  • Year:
  • 2010

Quantified Score

Hi-index 0.00

Visualization

Abstract

This paper describes an implementation study in which we use the upcoming INVOKEDYNAMIC bytecode instruction---to be supported by the standard Java virtual machine starting with the release of Java 7---to implement layered method dispatch. We compare the resulting implementation approach with that of the existing JCop compiler, and present preliminary results of comparative benchmarks. In spite of the as of now not optimized INVOKEDYAMIC implementation in the Java virtual machine, performance characteristics of the INVOKEDYNAMIC-based JCop implementation are promising.