Improving the Interoperation between Generics Translations
Vlad Ureche, Milos Stojanovic, Romain Michel Beguet, Nicolas Stucki, Martin Odersky · 2015
Generics on the Java platform are compiled using the erasure transformation, which only supports by-reference values. This causes slowdowns when generics operate on primitive types, such as integers, as they have to be transformed into reference-based objects.