AQS Internals
A senior deep dive into the JVM's AbstractQueuedSynchronizer: exploring the CLH queue, LockSupport.park(), and CAS state transitions in ReentrantLock.
A senior deep dive into the JVM's AbstractQueuedSynchronizer: exploring the CLH queue, LockSupport.park(), and CAS state transitions in ReentrantLock.
Senior-level guide to Elasticsearch cluster engineering — covering memory management, the 32GB JVM heap boundary, Zen2 discovery, write/search optimization, and ILM.
Comprehensive principal engineering guide to HotSpot Garbage-First (G1) collector — region topology, Remembered Sets (R-Sets), Card Tables, Snapshot-At-The-Beginning (SATB) write barriers, and mixed GC tuning.
Interactive deep dive into HotSpot GC — object lifecycle Eden/S0/S1/Old, Mark-Copy/Sweep/Compact, and collector evolution from Serial to ZGC.
Comprehensive principal engineering guide to GraalVM Ahead-Of-Time (AOT) Native Image compilation, Substrate VM, Closed World Assumption, build-time vs run-time initialization, reflection configuration, and cloud-native serverless trade-offs.
A comprehensive collection of real technical interview questions and answers from an HCL Java Developer interview for a candidate with 3 years of experience. Covers JVM Architecture, OOPs, Collections, and Spring Boot Internals.
Comprehensive principal engineering guide to HotSpot Tiered Compilation (Level 0-4), C1 client profiling, C2 server optimizations, Escape Analysis, scalar replacement, inlining thresholds, and deoptimization uncommon traps.
Comprehensive principal engineering guide to Java ClassLoader delegation hierarchies, child-first class loading in web servers, Metaspace off-heap native memory chunk architecture, and class unloading leak diagnostics.
In-depth architectural analysis of Java's core functional interfaces (Supplier, Consumer, Function, Predicate), JVM invokedynamic mechanics, LambdaMetafactory linkage, capturing closures vs singleton caching, and replacing GoF Factory patterns with modern functional registries.
Comprehensive answers to Java Software Design Patterns and Garbage Collection interview questions.
Comprehensive principal engineering guide to HotSpot 64-bit object memory layout, 64-bit Mark Word states, Compressed OOPs, 8-byte word alignment padding, CPU cache line false sharing, and @Contended mechanical sympathy.
Interview notes on JVM runtime architecture and exception propagation in Java applications.
Comprehensive principal engineering guide to JVM bytecode execution, method dispatch opcodes (invokevirtual, invokeinterface, invokedynamic), Bootstrap Methods (BSM), and dynamic instrumentation with Java Agents and Byte Buddy.
A practical guide to JVM monitoring and diagnostics — jcmd, jstack, jmap, jstat, JFR, async-profiler, heap dump analysis, GC tuning, off-heap leaks, and a field-tested runbook for CPU spikes, deadlocks, and OOM errors.
Guide to JVM internals covering memory layout, garbage collection, class loading, and runtime performance basics.
A complete guide to memory management — virtual memory, paging, TLB, page replacement, fragmentation, Linux allocators, JVM heap regions, GC algorithms, tuning, and production memory profiling. Beginner through senior depth.
Comprehensive guide to Off-Heap Memory and Foreign Function & Memory API (JEP 454) in Java 22+. Learn how to bypass Garbage Collection Stop-the-World pauses, eliminate object overhead, achieve Zero-Copy I/O, manage MemorySegment and Arena scopes, and avoid Kubernetes OOMKilled crashes.
A comprehensive knowledge base covering all major operating system concepts, with a focus on Linux internals and Java/JVM perspective.
A complete guide to processes and threads — memory layout, lifecycles, IPC, threading models, context switching, Java concurrency, virtual threads, thread pool tuning, memory visibility, and production patterns. Beginner through senior depth.
Post-mortem analysis of production OutOfMemoryError failures: why an innocent token-masking regex crashed a Kubernetes pod, 4 JVM memory leak avenues, metrics senses, and the 2 AM incident triage playbook.
Principal-level deep dive into SLF4J 2.x architecture, log level severity gates, parameterized evaluation, reading and formatting multi-layer Java error stacktraces, JVM fillInStackTrace() mechanics, FastThrow JIT optimizations, and production logging patterns.
An in-depth guide to understanding what data is stored in stack memory and heap memory in the Java Virtual Machine (JVM), including memory tuning and garbage collection.
A comprehensive guide to virtual memory — covering address spaces, paging mechanics, swap, OOM killer, huge pages, NUMA, and practical Linux/JVM tuning for senior engineers.
A detailed collection of real interview questions and answers from a Wipro Java Developer interview. Ideal for candidates with ~3 years of experience, covering JVM Internals, Memory Management, Spring Boot, and Core Java snippets.
Comprehensive principal engineering guide to HotSpot Z Garbage Collector (ZGC) — Colored Pointers, virtual memory multi-mapping (mmap), self-healing Load Barriers, and Java 21 Generational ZGC (JEP 439) sub-millisecond pauses.