Reputation: 12379
What could help me in helping writing highly compact(least byte code count) programs in Java.
Possibly I'm looking at:
Any existing tools that would help me to realize this?
Upvotes: 6
Views: 3885
Reputation: 9365
You can try the Dr. Garbage Tools or install from Eclipse Market Place
Some screenshots:
Upvotes: 0
Reputation: 994531
The javap
program that comes with the JDK can disassemble Java classes into bytecode.
You will want to refer to the Java Virtual Machine Specification to understand the meaning of all the bytecodes.
Upvotes: 7
Reputation: 406035
Eclipse has a Byte Code Outline plug-in that shows you what Java byte code will be produced from your source code.
Upvotes: 8