Threading Essentials by Dr Heinz M. Kabutz
A quick overview of threading, covering the basics of thread creation, synchronized and VarHandles.
In this modern world, we cannot afford to ignore those tricks that will make us faster than our competitors. In this short course, Heinz takes us through some tricks with threading that allow us to use both concurrency and parallelism to write systems that better utilize our available hardware. It is a peep into the world of threading, but not nearly as detailed as our full-blown “Extreme Java – Concurrency Performance Course”.
Heinz Kabutz is the author of The Java Specialists’ Newsletter, a publication enjoyed by tens of thousands of Java experts in over 145 countries. His book “Dynamic Proxies (in German)” was #1 Bestseller on Amazon.de in Fachbücher für Informatik for about five minutes until Amazon fixed their algorithm. Thanks to a supportive mother, he has now sold 5 copies.
Heinz’s Java Specialists’ newsletter is filled with amusing anecdotes of life on the Island of Crete. He is a popular speaker at all the best Java conferences around the world, and also at some of the worst. He teaches Java courses in classrooms around the world, where his prime objective is to make absolutely sure that none of his students fall asleep. He is not always successful.
1. Welcome (3:05)
2. Concurrency vs Parallelism (4:07)
3. new Thread(), ExecutorService, ForkJoinPool, Parallel Streams (19:00)
4. synchronized (7:20)
5. VarHandles (8:40)
6. Conclusion (1:16)
Frequently Asked Questions
Get Threading Essentials by Dr Heinz M. Kabutz with Digitdl.com