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

YouTube

Project Loom: Lightweight Concurrency with Fibers - Part 2

Java via YouTube

Overview

Explore the latest developments in Project Loom, a Java initiative aimed at simplifying concurrent application development under heavy load. Dive into the concept of fibers as lightweight, efficient threads managed by the Java Virtual Machine, offering improved performance and reduced footprint compared to traditional OS kernel threads. Examine the implementation of fibers using continuations in the JVM and their integration into JDK libraries. Gain insights into key topics such as the cost of operations, blocking IO, thread preemption, continuations, yield continuation, concurrent locks, and lightweight structured concurrency. Discover the benefits of Fiberscope, including cancellation capabilities and thread locals. Understand how Project Loom enhances the developer experience in writing, debugging, profiling, and maintaining concurrent applications.

Syllabus

Intro
Cost of operation
Blocking IO
Thread preemption
continuations
yield
continuation
concurrent locks
lightweight
Structured concurrency
Fiberscope
CancelFiberscope
Thread locals

Taught by

Java

Reviews

Start your review of Project Loom: Lightweight Concurrency with Fibers - Part 2

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.