JVM Flags: Standard, -X, and -XX Options Explained
Learn how standard, -X, and -XX JVM flags differ, which options apply to HotSpot JDK 26, and how to measure and roll back tuning changes safely.
Learn how standard, -X, and -XX JVM flags differ, which options apply to HotSpot JDK 26, and how to measure and roll back tuning changes safely.
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.
A deep dive into the Java Security Manager, policy file configuration, permission checks, and how to properly sandbox untrusted code in the JVM.
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.
Understanding Java thread lifecycle management: thread states, start, yield, sleep, interrupt, join, daemon threads and common pitfalls.
Explore C1 and C2 JIT compilers, on-stack replacement, and deoptimization handling in the JVM's tiered compilation model.
Follow Java from your first runnable program through objects, collections, exceptions, and core libraries. Build an artifact at every stage.
Compare Java interfaces, abstract classes, and composition, then see when shared state, default methods, or sealed types change the design choice.