We Present CTOC, a framework for optimizing Java bytecode. The framework supports two intermediate representations for representing Java bytecode: CTOC-B, a streamlined representation of bytecode which is simple to manipulate; CTOC-T, a typed 3- adress intermediate representation suitable for optimization.
We translate CTOC-T back to CTOC-B that translate a needless code. A needless code is redundant store/load statement and partial redundancy. We Study the technique necessary to effectively translate CTOC-T back to CTOC-B without losing performance. This paper eliminate needless code.