Program JavaZone

Workshop Tirsdag 1. september

AI Can't Debug This: A Virtual Thread Migration Workshop

Workshop C

Engelsk 2 t Java Concurrency Virtual Threads Workshop Migration Spring Boot

A N M Bazlur Rahman

A N M Bazlur Rahman is a Java Champion and Senior Staff Software Engineer at Hammerspace. He is a Contributing Editor for Java Queue at InfoQ and an internationally recognized conference speaker. Bazlur has over a decade of experience working with Java and related technologies, with a particular focus on concurrency, distributed systems, and modern Java platform features.

He is the author of the O’Reilly book Modern Concurrency in Java, which explores virtual threads, structured concurrency, and the evolving concurrency model of the Java platform. In addition, he has written five programming books in Bengali that have helped thousands of developers learn Java.

Bazlur is also the founder and moderator of the Bangladesh Java User Group (JUG), which he has been leading since 2013 to support and grow the Java community. Through speaking, writing, and mentoring, he actively contributes to the global Java ecosystem and helps developers adopt modern practices and technologies.

AI can migrate your thread pools to virtual threads in minutes. It'll even get the tests to pass. But when your service starts leaking security contexts across requests at 3 AM, AI isn't on call. You are.

We'll take a realistic Spring Boot service and systematically move it to virtual threads and structured concurrency through four progressive exercises. But at every step, we'll break things on purpose first: watch ThreadLocal poison contexts between requests, see synchronized blocks pin carrier threads under load, and observe unbounded fan-out overwhelm your database. You'll understand the failure before you write the fix.

Each exercise starts with failing tests that pass when the migration is correct: replacing thread pool executors, rewriting CompletableFuture fan-out with StructuredTaskScope, migrating ThreadLocal to ScopedValue, and diagnosing pinned carriers with JFR. By the end, you won't just have migrated a service. You'll have the mental model to know when something goes wrong in production and why.

Intermediate to senior Java developers

JDK 21+ (ideally 25), Maven, Docker, and an IDE you're comfortable with.

  1. From Streams to SQL to AI. Build an Open Source HTAP Platform in 4 Hours Workshop A
  2. Pleesah, lær meg mer om Kubernetes! Workshop B
  3. Bygg riktig før du bygger ferdig: Tjenestedesign for utviklere Workshop D