Welcome!
To use the personalized features of this site, please log in or register.
If you have forgotten your username or password, we can help.
My Menu
Saved Items

Optimizing Java Bytecode Using the Soot Framework: Is It Feasible?

Raja Vallée-RaiContact Information, Etienne GagnonContact Information, Laurie HendrenContact Information, Patrick LamContact Information, Patrice PominvilleContact Information and Vijay SundaresanContact Information

(5)  Sable Research Group, School of Computer Science, McGill University, Canada
Abstract
This paper presents Soot, a framework for optimizing Java™ bytecode. The framework is implemented in Java and supports three intermediate representations for representing Java bytecode: Baf, a streamlined representation of Java’s stack-based bytecode; Jimple, a typed three-address intermediate representation suitable for optimization; and Grimp, an aggregated version of Jimple.
Our approach to class file optimization is to first convert the stack-based bytecode into Jimple, a three-address form more amenable to traditional program optimization, and then convert the optimized Jimple back to bytecode.
In order to demonstrate that our approach is feasible, we present experimental results showing the effects of processing class files through our framework. In particular, we study the techniques necessary to effectively translate Jimple back to bytecode, without losing performance. Finally, we demonstrate that class file optimization can be quite effective by showing the results of some basic optimizations using our framework. Our experiments were done on ten benchmarks, including seven SPECjvm98 benchmarks, and were executed on five different Java virtual machine implementations.

Contact Information Raja Vallée-Rai
Email: rvalleerai@sable.mcgill.ca

Contact Information Etienne Gagnon
Email: gagnon@sable.mcgill.ca

Contact Information Laurie Hendren
Email: hendren@sable.mcgill.ca

Contact Information Patrick Lam
Email: plam@sable.mcgill.ca

Contact Information Patrice Pominville
Email: patrice@sable.mcgill.ca

Contact Information Vijay Sundaresan
Email: vijaysun@ca.ibm.com
Fulltext Preview (Small, Large)
Image of the first page of the fulltext

References secured to subscribers.



Export this chapter
Export this chapter as RIS | Text
 
Remote Address: 38.107.191.107 • Server: mpweb01
HTTP User Agent: CCBot/1.0 (+http://www.commoncrawl.org/bot.html)