Java Concurrency Intermediate
Duration: 10:00
ThreadLocal in Java
How ThreadLocal variables work internally, use cases (request context, transactions), and memory leak pitfalls.
More in Java Concurrency
10:00 Java Concurrency Intermediate
Java Concurrency Interview - What is an Ideal Threadpool size?
How to calculate the ideal thread pool size for CPU-bound versus I/O-bound tasks to maximize throughput.
10:00 Java Concurrency Advanced
Race Condition vs Data Races in Java
The critical distinction between high-level race conditions and low-level hardware/JMM data races.
10:00 Java Concurrency Advanced
Singleton and Double Checked Locking
Why traditional double-checked locking was broken before Java 5, instruction reordering, and how volatile fixes it.