News and views from members of the Java team at Oracle
(Recorded at NYJavaSIG (New York JUG).)
Concurrent applications, those serving multiple independent tasks simultaneously, are the bread and butter of Java server-side programming. The thread has been Java's primary unit of concurrency since Java's inception and is a core construct around which the entire Java platform is designed. But its cost is such that it can no longer efficiently represent a domain unit of concurrency, such as the session, request, or transaction.
As a result, Java has seen a proliferation of libraries and frameworks that offer scalability at the cost of abandoning the thread as the unit of software concurrency and, with it, the straightforward support of Java's observability tooling, such as debuggers and profilers.
Project Loom aims to reinstate the thread as an efficient unit of concurrency by adding a lightweight implementation of threads to the Java platform. This would allow straightforward code that's easy to write, understand, and maintain. It would be a useful abstraction that works in harmony with the platform and its tooling to scale and meet the requirements of even the most demanding concurrent applications.