Fast method dispatch and effective use of primitives for reified generics in managed X10

  • Authors:
  • Mikio Takeuchi;Salikh Zakirov;Kiyokuni Kawachiya;Tamiya Onodera

  • Affiliations:
  • IBM Research - Tokyo, Toyosu, Koto-ku, Tokyo, Japan;IBM Research - Tokyo, Toyosu, Koto-ku, Tokyo, Japan;IBM Research - Tokyo, Toyosu, Koto-ku, Tokyo, Japan;IBM Research - Tokyo, Toyosu, Koto-ku, Tokyo, Japan

  • Venue:
  • Proceedings of the 2012 ACM SIGPLAN X10 Workshop
  • Year:
  • 2012

Quantified Score

Hi-index 0.00

Visualization

Abstract

Two new techniques for improving performance of reified generics without specializing types are presented. With these techniques, the cost of method dispatch is reduced by 95% from the regular self dispatching based implementation, and the cost of returning primitive value is reduced by 15% from the regular boxing based implementation. These techniques are useful to implement reified generics in Java and other JVM languages.