Java Threads

Table of Contents

Java (Platform) Thread

  1. https://docs.oracle.com/javase/7/docs/api/java/lang/Thread.html
  2. https://docs.oracle.com/en/java/javase/21/core/virtual-threads.html
  3. Java Thread was introduced around 25 years ago.
  4. A Java Thread is a wrapper around an OS thread.
  5. OS thread is the unit of scheduling.
  6. 1 Java Thread = 1 OS Thread.

TODO

  1. https://dzone.com/articles/mastering-thread-local-variables-in-java-a-compreh
  2. https://dzone.com/articles/unlocking-performance-exploring-java-21-virtual-th
  3. https://dzone.com/articles/visualising-thread-safe-singletons-in-java

Tags

  1. Daemon Threads
  2. Java Threads - How to kill them?
  3. Java Threads - Creating, Starting and Running them