Java
Understanding JVM Memory Management
A deep dive into Java stack memory, heap memory, metaspace, and how garbage collection actually reclaims objects.
3 min read
Tag
3 articles
A deep dive into Java stack memory, heap memory, metaspace, and how garbage collection actually reclaims objects.
How WeakMap, WeakRef, and FinalizationRegistry actually work, where each one earns its place, and why most of them belong in library code, not app code.
Where closures actually show up in production JavaScript — memoization, private state, React hooks, and the memory leaks they quietly cause.