CoCo: Sound and Adaptive Replacement of Java Collections

6 years 2 months ago
CoCo: Sound and Adaptive Replacement of Java Collections
Inefficient use of Java containers is an important source of run-time inefficiencies in large applications. This paper presents an application-level dynamic optimization technique called CoCo, that exploits algorithmic advantages of Java collections to improve performance. CoCo dynamically identifies optimal Java collection objects and safely performs run-time collection replacement, both using pure Java code. At the heart of this technique is a framework that abcontainer elements to achieve efficiency and that concretizes abstractions to achieve soundness. We have implemented part of the Java collection framework as instances of this framework, and developed a static CoCo compiler to generate Java code that performs optimizations. This work is the first step towards achieving the ultimate goal of automatically optimizing away semantic inefficiencies.
Guoqing (Harry) Xu
Added 28 Apr 2014
Updated 28 Apr 2014
Type Journal
Year 2013
Authors Guoqing (Harry) Xu
Comments (0)