Virtual Thread Pinning

Turkish equivalent: Sanal thread sabitlenmesiDomain: Java and JVM

A condition in which a virtual thread cannot unmount from its carrier thread during a blocking operation, reducing scalability under concurrency.

Boundaries

Pinning is a scalability concern only when a pinned virtual thread blocks long enough or often enough to occupy scarce carrier threads.

  • Virtual Thread
  • Context Switch
  • Blocking I/O
  • Safepoint

Source

  • https://openjdk.org/jeps/491