Possible Duplicate:
Is it possible to view bytecode of Class file?
I wanted to write some Java in eclipse, compile and then look at the resultant “assembly language” to see which code compiles to the fewest “instructions”. I realise Java is different to C++, but is it possible to study some output from the compilation and compare to check for fastest code?
You have to look at the bytecode produced by the compilation, exist an eclipse plugin (Bytecode Outline) that let you view the bytecode directly in eclipse.