Overview
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
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