Towards performance measurements for the Java Virtual Machine's invokedynamic

  • Authors:
  • Chanwit Kaewkasi

  • Affiliations:
  • Suranaree University of Technology, Nakhon Ratchasima, Thailand

  • Venue:
  • Virtual Machines and Intermediate Languages
  • Year:
  • 2010

Quantified Score

Hi-index 0.00

Visualization

Abstract

This paper presents a study of a Java Virtual Machine prototype from the Da Vinci Machine project, defined by JSR 292. It describes binary translation techniques to prepare benchmarks to run on the invokedynamic mode of the prototype, resulting in the invokedynamic version of the SciMark 2.0 suite. Benchmark preparation techniques presented in this paper are proven to be useful as the invokedynamic version of benchmark programs successfully identified strange slowness behavior of the invokedynamic mode of the server virtual machine. Surprisingly, benchmarking results show that the invoke-dynamic mode with direct method handles on the server virtual machine is just 2-5 times slower than native Java invocations, except the Monte Carlo benchmark. But this mode on the client virtual machine still requires further performance tuning.