~/talk

Java Virtual Threads

TalkinGermanat JCON-ONLINE 2021 · 2021-10-05..10-08· [java, concurrency]
links:none on file
slides:none on file

Project Loom brings virtual threads to Java as an alternative concurrency model for asynchronous programming. It explains that virtual threads are lightweight, JVM-managed threads that can be created and handled in very large numbers, describes the new language/runtime concepts developed so far, and discusses when to use virtual threads versus traditional OS threads.

AI-written summary · about

  1. 0:00Introduction
  2. 1:26Model of a Program Execution
  3. 2:43Thread Data (Stack)
  4. 4:29Idea: Multithreading
  5. 6:23Technical Implementation (Early: Green Threads)
  6. 7:54Technical Implementation (Today)
  7. 11:05Problem: Waiting Threads
  8. 12:53Virtual Thread Scheduling
  9. 17:21Coroutine Principle
  10. 26:56"Execution" of a Continuation
  11. 29:02Example: Handling Tasks
  12. 29:57Scaling with Continuations
  13. 33:41Handling Blocking Calls
  14. 35:38Calling a Blocking Method
  15. 42:23"Rewritten" Classes
  16. 43:05Structured Concurrency
  17. 43:36Impact on Application Design
  18. 45:38Further Concepts (Preview)
  19. 46:12Summary and Outlook
~/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.