Project Loom - Structured Concurrency
HTML-код
- Опубликовано: 9 фев 2025
- Structured Concurrency treats groups of related tasks running in different threads as a single unit of work. It streamlines error handling and cancellation, improves reliability, enhances observability and is a great match for virtual threads. In this session we will introduce the topic and the API that is currently in preview to support this feature.
Check inside.java/ta... for more information on Project Loom.
Make sure to also visit dev.java, the destination for all Java developers.
Video recorded during Java Day™ London
Tags #Java #Concurrency #Programming #JDK #OpenJDK #InsideJava
Structured concurrency can be very useful, it's great to have it built-in!
I appreciate the dry jokes sprinkled along in this well-honed technical talk.
Great talk! This was the piece missing in the Java ecosystem!
Great talk! Alan Bateman is the man! 😄
No doubt!
Great talk, thank you 🙏
code font size too small to read.
Great presentation!
any benchmark on the cost of context switching for virtual thread and platform thread?
Platform thread has context switching. Virtual thread has no context switching itself
@@deadviny the platform threat thats backing the virtual threads have. They need to copy the stack into memory when they yield.
@@tarphuer I don't think they need as long as the backing threadpool is ForkJoinPool with the number of threads = CPU cores
Thank you!
It's kill vertx :(