Title :
Java bytecode optimizations
Author_Institution :
Dept. of Comput. Sci., Arizona Univ., Tucson, AZ, USA
Abstract :
We present our results obtained from applying well known optimizations to Java bytecodes. We survey the optimizations implemented thus far, which include peephole optimizations, jump redundancy eliminations, and common subexpression elimination. The transformations are each analyzed according to several criteria. We measure the impact each has on reducing a program´s execution time and size, the frequency by which the optimizations can be applied, and the extra compile time incurred. Together, these results quantify the overall effectiveness of employing classical optimizations on bytecodes. Our experiments were conducted on a representative set of public domain Java programs which were compiled using Sun´s JDK 1.0.2. All transformations were applied to bytecodes with no access to their original source.
Keywords :
object-oriented languages; optimising compilers; program control structures; Bali Java bytecode optimizer; Java bytecode optimization; Sun JDK 1.0.2; common subexpression elimination; compile time; execution time; jump redundancy eliminations; peephole optimizations; public domain Java programs; Benchmark testing; Buildings; Computer science; Debugging; Dispatching; Frequency; Java; Optimizing compilers; Size measurement; Velocity measurement;
Conference_Titel :
Compcon '97. Proceedings, IEEE
Conference_Location :
San Jose, CA, USA
Print_ISBN :
0-8186-7804-6
DOI :
10.1109/CMPCON.1997.584709