Overview
Explore the intricacies of virtual threads in Java 21 through a 47-minute conference talk at Devoxx. Dive deep into the implementation details of virtual threads using Conway's Game of Life as a practical example based on Project Loom. Investigate the non-preemptive nature of virtual threads, evaluate the effectiveness of local variables as ThreadLocal replacements, and examine the implications of modifying the default carrier thread pool. Conclude by discovering how virtual threads enable the creation of a deadlock using a single lock, demonstrating advanced multithreading concepts. Note that the audio and video quality may be affected by technical issues.
Syllabus
Game of Loom 2: life and dead(lock) of a virtual thread by Mario Fusco
Taught by
Devoxx