Tag

JVM

3 diagram-led guides on JVM by Abhishek Goyal.

  1. Guide

    Java Concurrency & Multithreading

    End-to-end, internals-first: JVM memory architecture, CPU cache visibility, all six thread states, synchronized and volatile, wait/notify, thread pools, the full java.util.concurrent toolkit, ThreadLocal, CompletableFuture, the Java Memory Model, common bugs, and a full interview Q&A.

    ~50 min read · Beginner → Advanced · 8 diagrams

  2. Deep diveNew

    Why wait() and notify() Must Be Called Inside synchronized

    The lost-wakeup race that forces the rule, what the monitor’s entry set and wait set really do, why wait() must live in a while loop, notify vs notifyAll — and how Lock/Condition inherits the same contract.

    ~32 min read · Intermediate · 7 diagrams

  3. GuideNew

    Why Strings Are Immutable in Java

    Inside java.lang.String: the final byte[], compact strings and the cached hash — and the five reasons immutability was chosen: the string pool, hash-based collections, security, thread safety and class loading.

    ~31 min read · Beginner → Intermediate · 8 diagrams

More tags