Java Virtual Threads, Structured Concurrency & Scoped Values Workshop
Virtual threads aren't "free threads." Train your engineering team to migrate from platform thread pools to Virtual Threads, Structured Concurrency, and Scoped Values without hitting carrier thread pinning, heap OutOfMemoryError crashes, or GC bottlenecks in production.

Why Teams Book This Workshop Before Migrating to Virtual Threads
Go Beyond "Just Replace Your Thread Pool"
Simply swapping in newVirtualThreadPerTaskExecutor() can trigger unexpected carrier starvation, synchronized/native pinning, or massive heap allocation from unmounted stack chunks. Your team will learn how the JVM actually schedules and unmounts virtual threads under the hood.
Spring Boot, Jakarta EE & Legacy Migration
Before the workshop, we review your team's concurrency patterns, database pools, HTTP clients, and ThreadLocal usage so the afternoon labs directly solve your production migration challenges.
Full-Day Hands-On Curriculum (09:00 β 17:00)
Every module pairs deep JVM architectural mechanics with hands-on coding and debugging exercises where participants diagnose and fix broken concurrency patterns.
1. Virtual Threads Internals & Scheduling
- Platform threads vs. Virtual Threads: continuations & carrier threads
- How the JVM's
ForkJoinPoolFIFO scheduler differs from LIFO compute pools - Heap stack chunking (
StackChunk), GC pressure & CPU cache locality trade-offs - Hands-On Lab: Spawning, inspecting, and stress-testing virtual threads
2. Production Patterns, I/O & Thread Pinning
- High-throughput HTTP client/server, JDBC database, and file I/O workloads
- Rate-limiting concurrent downstream calls with
Semaphorevs. thread pools - Detecting carrier thread pinning with JDK Flight Recorder (JFR) & system properties
- Hands-On Lab: Building & debugging a high-concurrency web scraper with intentional pinning traps
3. Structured Concurrency in Practice
- Eliminating thread leaks and orphan tasks with
StructuredTaskScope - Built-in shutdown policies (
ShutdownOnFailure,ShutdownOnSuccess) - Implementing custom task scope policies for timeouts, quorum, and fallbacks
- Hands-On Lab: Designing fault-tolerant parallel service fan-out with custom policies
4. Scoped Values & Benchmarking
- Why
ThreadLocalbecomes a memory and mutability hazard with millions of virtual threads - Immutable context propagation and rebinding with
ScopedValue - Combining
ScopedValuewithStructuredTaskScopeinheritance - Hands-On Lab: Migrating a legacy
ThreadLocalservice & verifying throughput with JMH
What Conference Workshop Attendees Say
"The workshop was incredibly detailed and packed with practical content. Every minute was valuable."
β Senior Java Developer Β· Conference Hands-On Workshop (JFokus / JNation)"One of the most content-rich workshops I've attended at a conference. Great attention to technical details while keeping the content accessible."
β Staff Software Engineer Β· Sold-Out Conference Lab (JPrime / J-Fall)Calculate Your Team's Workshop Investment & Book a Discovery Call
Full-day workshops start at β¬2,500 (excl. VAT) for up to 5 developers, plus β¬300 per additional developer (up to 15 per session). Includes pre-workshop codebase alignment, full-day hands-on training, lifetime lab repository access, and a 2-week follow-up Q&A session.
1-Click "Convince Your Engineering Manager" Template
Copy and paste this message into Slack or email to get fast training budget approval from your Engineering Manager, Tech Lead, or CTO:
Frequently Asked Questions
What is the ideal team size for a workshop? Optimal group size is 5β15 developers to ensure personal attention and effective hands-on practice. The sweet spot is 8β10 developers for pair programming and architectural discussions. Larger engineering organizations can book multiple sessions.
Where are the workshops conducted? Workshops are delivered live and in-person at your company's office across Europe and worldwide.
What is the investment for a workshop? Full-day workshops start at β¬2,500 (excl. VAT) for teams of up to 5 developers, plus β¬300 per additional developer (up to 15 participants per session). Multiple-workshop discounts are available.
Can the workshop be customized to our tech stack? Yes. Every engagement starts with a pre-workshop technical discovery call to align the labs with your exact JDK version and frameworks (Spring Boot, Jakarta EE, Helidon, Quarkus).
What happens after the workshop? Participants receive lifetime access to all workshop repositories, benchmark suites, and updated materials, plus a dedicated follow-up Q&A session within 2 weeks after the training.
What is the typical workshop schedule? The full-day workshop runs from 09:00 to 17:00 (with flexible timing to fit your team):
- 09:00 β 12:30: Morning interactive deep dives & hands-on labs
- 12:30 β 13:30: Lunch break
- 13:30 β 17:00: Afternoon advanced production labs, profiling & architectural Q&A