Crack The Backend
Search documentation
/
Home
Core Backend
Algorithms
System Design
Data Structures
Java Concurrency
menu_book
9 articles
Thread Pools in Java
Why and how to use thread pools for concurrency instead of creating threads directly.
AQS Explained - How Locks Are Built
AbstractQueuedSynchronizer and how locks are built on it in Java.
CompletableFuture - thenApply vs thenCompose
Difference between thenApply and thenCompose when chaining async operations.
ConcurrentHashMap Internals
How ConcurrentHashMap works internally.
Deadlock - How to Detect and Prevent
Detecting and preventing deadlocks in Java.
Java Memory Model (JMM) in Plain English
JMM explained in plain language.
synchronized vs ReentrantLock
When to use synchronized vs ReentrantLock.
Thread Pools in Java (Core Parameters)
Explore ThreadPoolExecutor parameters, queuing strategies, rejection policies, and shutdown mechanisms for Java concurrency.
volatile - What It Guarantees (and What It Doesn't)
Visibility and ordering guarantees of volatile in Java.
Back to home