I have corrected my Java volatile tutorial. Some errors had been pointed out to me by several different developers. It was time to fix it. Both text and diagrams have been fixed 😊
#Java#JavaConcurrency#JavaMultithreading
I have updated my Compare and Swap in Java tutorial. Compare and swap is an alternative to Java synchronized blocks when designing high throughput, non-blocking concurrent data structures!
Text:
Video:
#Java#JavaMultithreading
Java ExecutorService tutorial updated to show how to create an ExecutorService that uses virtual threads internally - one per task submitted.
#Java#JavaConcurrency#JavaMultithreading
Java single-threaded designs - ever wondered what they idea is behind those? In this video I explain the main rationale behind this class of concurrency designs:
#Java#JavaConcurrency#JavaMultithreading
I've made a small correction of my statements about how Java volatile and synchronized flush thread visible variables to main memory:
#Java#JavaConcurrency#JavaMultithreading