Skip to main content

5 docs tagged with "garbage-collection"

View all tags

Chapter 1 — Building Blocks

Master Java class structure, primitive types, wrapper classes, var, text blocks, garbage collection, and variable scope — the foundation of every OCP Java 21 exam question.

Memory Management — OS & Java

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.

Stack vs Heap Memory in Java

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.