~/talk

Even threads are now virtual:past, present, future of concurrency in Java.

Talkat Devoxx Ukraine 2020 · 2020-11-05..11-07· [java, concurrency]
github:mcupak
slides:none on file

Java now prototypes Project Loom virtual threads — cheap, user‑space threads that let applications create millions of virtual threads and treat blocking as inexpensive; default scheduler uses carrier threads equal to CPU cores and virtual threads mount on carriers. Examples show startVirtualThread / Thread.builder, a virtual-thread-per-task executor, ExecutorService now AutoCloseable for structured concurrency with try‑with‑resources, support and caveats for thread‑locals (can be disabled) and low‑level continuations for pause/resume.

AI-written summary · about

  1. 0:00Intro
  2. 2:02Threads in Java
  3. 7:00Thread Groups
  4. 8:41Thread Local
  5. 11:37Threat Pools
  6. 15:32Asynchronous Programming
  7. 17:28Fork Joint Pool
  8. 21:02completablefuture
  9. 27:51Project Loom
  10. 29:49Virtual Threads
  11. 33:34Thread Locals
  12. 37:26Thread Factories
  13. 39:41Executor Services
  14. 41:30Scheduling
  15. 44:38Continuation
  16. 48:02Outro
~/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.