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

Mikio Takeuchi, Salikh S. Zakirov, Kiyokuni Kawachiya, Tamiya Onodera · 2012

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.

Read the paper · More papers on PaperTik