Kevin Boyd
Kevin Boyd

Reputation: 12379

Java Byte Code Visualizer

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

Answers (3)

Đức Thanh Nguyễn
Đức Thanh Nguyễn

Reputation: 9365

You can try the Dr. Garbage Tools or install from Eclipse Market Place

Some screenshots:

enter image description here

enter image description here

enter image description here

Upvotes: 0

Greg Hewgill
Greg Hewgill

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

Bill the Lizard
Bill the Lizard

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

Related Questions