bytecode
4 tutorials tagged “bytecode”.
- Creating a Javap ToolBuild your own small javap: read the class file header by hand, then use the Class-File API to list fields, methods and bytecode instructions.
- Bytecode Basics in JavaHow JVM bytecode works: frames, local variable slots, the operand stack, instruction families, a loop traced step by step, and the five invoke instructions.
- Javap Tool in Javajavap is the JDK's class file disassembler. Learn its options (-p, -c, -v, -s, -l), how to read descriptors and the constant pool, and what it reveals.
- Bytecode and Platform IndependenceWhat bytecode is, what's inside a .class file, how to read it with javap, what class file versions mean, and where platform independence stops.