David Vlijmincx - Project Panama Workshop Instructor
πŸ”— 1-Day Intensive Team Workshop Β· Live In-Person at Your Office

Project Panama: Java Foreign Function & Memory (FFM) API Workshop

Replace fragile, error-prone JNI with safe, C-speed native bindings in pure Java. Train your team to master Project Panama's Foreign Function & Memory APIβ€”from deterministic off-heap memory and jextract to hardware memory ordering and zero-copy native performance.

Why Engineering Teams Book This Project Panama Workshop

C-Speed Without JNI Pain

86%+ Faster Native Operations in Pure Java

Generating bindings with jextract is only step oneβ€”naive FFM code often suffers from hidden memory zeroing, byte-array copying, and non-static MethodHandle overhead. Your team will learn the exact mechanical-sympathy techniques I used to build pure-Java Linux io_uring and FUSE bindings that match C performance.

Safe Off-Heap & Multi-Threaded Memory

Deterministic Lifetimes & Hardware Memory Models

Avoid segmentation faults, memory leaks, and subtle ARM vs. x86 concurrency bugs. We cover confined, shared, and custom Arenas, complex C struct/union layouts, and thread-safe off-heap memory access using VarHandle memory fences.

Full-Day Hands-On Curriculum (09:00 – 17:00)

Participants build, profile, and optimize real C library bindings in Java without writing a single line of JNI glue code.

Morning Session Β· 09:00 – 12:30

1. Deterministic Off-Heap Memory Management

  • From JNI & ByteBuffer to Project Panama's FFM architecture
  • Choosing the right Arena: Confined, Shared, Auto, and Global lifetimes
  • Working with MemorySegment bounds, slicing, and pointer arithmetic
  • Hands-On Lab: Allocating, slicing, and safely managing off-heap memory segments

2. Calling Native C Functions (Downcalls & Upcalls)

  • Using Linker, SymbolLookup, and FunctionDescriptor
  • Generating bindings automatically with jextract (and when to write your own)
  • Passing Java callbacks into C libraries using Upcall stubs
  • Hands-On Lab: Building safe downcall and upcall bindings to native system libraries
Afternoon Session Β· 13:30 – 17:00

3. Complex Memory Layouts & Thread-Safe Access

  • Modeling C structs, nested arrays, and unions with MemoryLayout
  • Building custom Arena allocators to bypass zeroing overhead
  • Thread-safe shared native memory: VarHandle Plain, Opaque, Acquire/Release & Volatile modes across x86 and ARM
  • Hands-On Lab: Manipulating complex C structs and verifying thread safety

4. Extreme Performance Optimization & Profiling

  • Eliminating Java-to-C copy overhead and batching native transitions
  • Using static final MethodHandles and critical downcall linker options
  • Benchmarking and profiling native bindings with JMH and async-profiler
  • Hands-On Lab: Optimizing a slow native binding to achieve C-level throughput

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)
Transparent Enterprise Pricing Β· Instant Estimate

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.

5 devs (€2,500) 10 devs (€4,000) 15 devs (€5,500)
Estimated Full-Day Team Investment (excl. VAT): €3,400 (€425 per developer Β· 8 participants)
Need L&D or Manager Approval First?

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:

← View All 3 Java Workshops

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 native C/C++ or Rust libraries? Yes. During our pre-workshop consultation, we can tailor the afternoon binding and benchmarking exercises around the exact native libraries or I/O bottlenecks your team works with.

What happens after the workshop? Participants receive lifetime access to all workshop repositories, JMH 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