BLOAT, the Bytecode-Level Optimizer and Analysis Tools, is a Java classfile optimizer that is written entirely in Java. BLOAT was designed and developed by Nate Nystrom in 1998 and performs a number of intraprocedural optimizations on Java bytecode:

More information about BLOAT can be found at:

http://www.cs.purdue.edu/homes/whitlock/bloat