Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Continuations: The Magic Behind Virtual Threads in Java

Devoxx via YouTube

Overview

Coursera Plus Monthly Sale: All Certificates & Courses 40% Off!
This talk explores the underlying mechanism of virtual threads in Java, focusing on Continuations as the key technology enabling their high scalability. Discover how the JVM manages to switch between numerous virtual threads while executing on a single platform thread. Learn what Continuations are—representations of a program's current state that allow pausing and resuming execution—and understand their practical applications. Through a hands-on demonstration of building a simple VirtualThread class using the Continuation API provided by JDK, gain clear insights into how this powerful mechanism forms the foundation of Java's virtual threads implementation. Perfect for developers curious about the inner workings of this performance-enhancing feature in modern Java.

Syllabus

Continuations: The magic behind virtual threads in Java by Balkrishna Rawool

Taught by

Devoxx

Reviews

Start your review of Continuations: The Magic Behind Virtual Threads in Java

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.