Structured Concurrency in Java
DOI:
https://doi.org/10.47363/JMCA/2023(2)E127Keywords:
Concurrency, Asynchronous Programming, Structured Concurrency, Multi-ThreadingAbstract
Concurrency is vital for high performance software applications. The Java language has support for concurrency but it requires developers to handle execution of concurrent tasks. This adds a learning curve and makes concurrent code harder to read, write and debug. To solve this issue, Java 21 introduces a preview feature called structured concurrency. In this paper, we review the idea behind structured concurrency and discuss how the new language feature works in Java.
Downloads
Published
2023-11-17
Issue
Section
Articles