Project loom: Modern scalable concurrency for the Java platform

День 3 /  / Зал 1  /  EN /

Concurrent applications, those serving multiple independent application actions 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, which would allow straightforward code — that's easy to write, understand and maintain, and works in harmony with the platform and its tooling — to scale and meet the requirements of even most demanding concurrent applications.

Почему этот доклад в программе

Чем хорош спикер: Alan Bateman, OpenJDK Core Libraries Project Lead spent much of the last years in designing Loom such that it fits naturally and seamlessly into rich set of existing Java libraries and programming paradigms.

Чем хороша тема: Using the numerous cores of today's CPUs efficiently is a complex but increasingly important task. Java was among the first programming languages with builtin support for concurrent programming. Its concurrency model based on native OS threads scales well for thousands of parallel execution streams but has become too heavyweight for today's reactive programming paradigm with hundred of thousand of parallel execution threads. Project Loom is the answer to this problem. It defines and implements Java's next generation, lightweight concurrency primitives.

Кому будет полезно: Everybody who is interested in the history, evolution and future of this next big and disruptive Java feature will greatly benefit from this talk.

Почему здесь и сейчас: Come and hear directly from one of the main Loom architects what you can expect in the upcoming Java releases.


Alan Bateman
Alan Bateman

Alan Bateman is an engineer in the Java Platform Group in Oracle. Alan has worked on many areas of the JDK including the Java Module System, the modularization of the JDK itself, and the core libraries and APIs. He previously worked on many of the tool and profiling APIs including the JSR-163 implementation and other serviceability features. He is currently focused on Project Loom with the aim to reduce the effort of writing, maintaining, and observing high-throughput concurrent applications.

Приглашенные Эксперты

Антон Архипов

Developer Advocate в проекте Kotlin в компании JetBrains, резидент подкаста «Разбор полетов». Профессиональные интересы связаны с языками программирования и средствами разработки ПО.