Logo der Java User Group Karlsruhe. Auf dem Bild ist der Java Duke zu sehen und im Hintergrund die Fächerstadt Karlsruhe.


Structured Concurrency + Deterministic Unit Tests for Multithreaded Java

Datum:
03.02.2026, 19:15

Talk 1: Structured Concurrency

In Java 25, the structured concurrency API sees its fifth preview with considerable changes over previous iterations. With chances being good that it will finalize without a further overhaul, let’s put it into action and explore how to:

  • structure concurrent code
  • process and propagate errors and cancellation
  • observe thread relationships
  • refactor from a reactive approach

After this presentation you’ll be ready to put the structured concurrency API into action in your project.

Talk 2: Deterministic Unit Tests for Multithreaded Java with VMLens

Testing multithreaded Java is hard because it is non-deterministic.

By systematically iterating over all thread interleavings, we can turn concurrency testing into a deterministic process. This talk introduces VMLens, an open-source tool that automates this approach and enables deterministic unit testing for multithreaded Java applications. After this talk you will be able to test if your classes are thread safe or not.

Nicolai Parlog

Nicolai (aka nipafx) ist Java-Enthusiast mit Fokus auf Sprachfeatures, APIs und Weiterentwicklungen der Runtime, der leidenschaftlich gerne lernt und lehrt. Das macht er hauptsächlich auf Konferenzen und in seinem zweiwöchentlichen Inside Java Newscast, aber auch gelegentlich in Podcasts, Live Streams, Artikeln oder Büchern - mehr dazu auf [nipafx.dev]. Er ist Java Developer Advocate bei Oracle; ansonsten kennt man ihn für seine Frisur.

http://www.nipafx.dev http://www.nipafx.dev

@nipafx @nipafx

Thomas Krieger

Thomas Krieger works as a freelance software developer in the Java environment. His interest in complex issues and testing led him to write VMLens, an open-source tool for testing multi-threaded Java.

https://github.com/vmlens/vmlens https://github.com/vmlens/vmlens

Location


Disy Informationssysteme GmbH
Zimmerstraße 3
76137 Karlsruhe

Eine Veranstaltung des iJUG e.V., organisiert durch die JUG Karlsruhe.
Supported by

Powered by Jekyll & Git