~/talk

A Deeper Dive into Java Concurrency Updates

Talkat JavaDay Ukraine 2017 · 2017-11-04..11-05· [concurrency]
links:none on file
slides:none on file

Walks through concrete Java 8→9 concurrency changes with runnable demos: shows that supplyAsync defaults to the ForkJoin common pool (risking exhaustion) and how providing a custom Executor avoids it; demonstrates surprising thread hops where plain thenApply can run on the calling thread, and recommends thenCompose to avoid nested CompletableFuture types; covers Java 9 additions—orTimeout/completeOnTimeout, completeAsync/default executor via subclassing, defensive copy/minimalCompletionStage, delayed executor and SubmissionPublisher with backpressure examples that all run in live code.

AI-written summary · about

  1. 0:00Introduction to Java concurrency
  2. 1:22CompletableFuture basics
  3. 3:24Managing thread execution
  4. 5:35Chaining and pipelining tasks
  5. 8:05Async methods and thread control
  6. 10:44Advanced composition techniques
  7. 12:27Executing multiple futures
  8. 15:28Exception handling patterns
  9. 19:14Java 9 concurrency enhancements
  10. 29:50Reactive streams and flow API
  11. 36:16Implementing subscribers and transformers
  12. 40:24Back pressure and conclusion
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.