Overview
Explore the performance implications and implementation patterns of virtual threads in Java through an analysis of Conway's Game of Life. Dive into the scalability benefits of virtual threads compared to native threads, examining their impact on memory usage and performance. Investigate the costs of scheduling thousands or millions of virtual threads, potential performance implications of frequent context switching, and cache misses. Learn from a comparison of different algorithms using both virtual and native threads, and derive practical guidelines for when and how to effectively utilize virtual threads in your Java projects. Gain insights from senior principal software engineer and Java Champion Mario Fusco as he demonstrates the game-changing potential of virtual threads in the Java ecosystem.
Syllabus
Game of Loom: implementation patterns and performance implications playing with virtual threads
Taught by
Devoxx