Java Concurrency Intermediate
Duration: 10:00
Java Concurrency Interview Question: How to timeout a thread?
Techniques and pitfalls of timing out blocking threads in Java: Future.get with timeout, interrupts, and cleanup.
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.