JVM Startup and Shutdown: Hooks and Lifecycle
Learn how Java starts and stops, when shutdown hooks run, why finalizers are unreliable, and how to bound cleanup within container timeouts.
Learn how Java starts and stops, when shutdown hooks run, why finalizers are unreliable, and how to bound cleanup within container timeouts.
Understand JVM class-file verification, StackMapTable rules, VerifyError causes, and the limits of bytecode checks across JDK versions.
Learn how JVMTI agents register events, request capabilities, and collect JVM data while managing callback cost, native memory, and compatibility.
Deep dive into JVM method invocation: invokevirtual, invokestatic, invokespecial, invokeinterface, and invokedynamic explained per the JVM Specification.
A guide to the Java 9 Module System covering module boundaries, strong encapsulation, the requires and exports directives, and practical migration patterns.
Understanding JVM memory architecture: Heap, JVM Stack, Method Area, PC Registers, and Native Method Stacks - what they store and how they interact.
A deep dive into the Java Security Manager, policy file configuration, permission checks, and how to properly sandbox untrusted code in the JVM.
A practical guide to Serial and Parallel garbage collectors - how they work, when to use each, throughput trade-offs, and production tuning tips.
A guide to the JVM Stack Walking API showing how to efficiently traverse stack frames, access local variables, and extract security context without the overhead of traditional stack trace capture.
Understanding Java synchronization: synchronized blocks, wait/notify, ReentrantLock, ReadWriteLock, StampedLock, and common concurrency patterns.