3 parts
Java Collections & Data Structures: From Scratch
Technical essays and low-level architectural breakdowns exploring mechanical execution, system trade-offs, and engine internals.
Part 1 2026-09-24
How the JVM Actually Lays Out Arrays in Memory
A mechanical look at how HotSpot allocates primitive arrays vs reference pointer arrays across stack frames, object headers, and CPU caches.
Part 2 2026-10-01
Why You Must Always Override equals() and hashCode() Together in Java
Learn the unbreakable contract between equals() and hashCode() in Java to prevent silent HashMap lookup bugs and memory leaks.
Part 3 2026-10-13
How Java ArrayList Works Internally: Resizing, Growth Factor, and Memory
Build a custom ArrayList in Java from scratch. Understand dynamic array resizing, System.arraycopy performance, and garbage collection.