In this video we'll cover STRUCTURED CONCURRENCY IN JDK 21. We'll talk about some of the differences between ExecutorService and StructuredTaskScope as well as touching on things like impacts to THREAD DUMPS.
I'm Will Tollefson, a guy who loves to NEVER STOP LEARNING and teach others what I've learned. If you're enjoying the content, please LIKE, SUBSCRIBE, and SHARE!
LINKS:
JEP 453: https://openjdk.org/jeps/453
VIDEO CHAPTERS:
0:00 Introduction
0:31 JEP 453
1:56 ExecutorService Baseline
4:27 Issues with ExecutorService
7:24 StructuredTaskScope
11:42 Shutdown Policies
13:52 Closing Thoughts