JVM Bytecode Verification: Type Checking and Stack Map Frames
A practical guide to JVM bytecode verification by class-file version, including type inference, StackMapTable frames, VerifyError debugging, and verification limits.
A practical guide to JVM bytecode verification by class-file version, including type inference, StackMapTable frames, VerifyError debugging, and verification limits.
Deep dive into the JVM Class Loader subsystem covering loading, linking, initialization phases and the ClassLoader hierarchy with parent delegation model.
Follow a JDK 21 source-to-bytecode trace, then learn how common JVM instructions use locals, operand stacks, branches, method calls, and returns.
Inspect Java bytecode, understand JVM operand stacks and local slots, and learn what javap reveals about class files, opcodes, and verification.
Understand JVM class-file verification, StackMapTable rules, VerifyError causes, and the limits of bytecode checks across JDK versions.
Deep dive into JVM method invocation: invokevirtual, invokestatic, invokespecial, invokeinterface, and invokedynamic explained per the JVM Specification.
A deep dive into the Java Security Manager, policy file configuration, permission checks, and how to properly sandbox untrusted code in the JVM.