MENU

Fun & Interesting

Java ExecutorService Using Virtual Threads

Jakob Jenkov 12,240 2 years ago
Video Not Working? Fix It Now

With the addition of Virtual Threads to Java, a special Java ExecutorService implementation was also added which executes every single task submitted to it using a separate virtual thread. In this video I show how to create and use a Java ExecutorService using virtual threads internally. Twitter: @jjenkov LinkedIn: https://www.linkedin.com/in/jakob-jenkov-4a3a8/ If you are new to Java Virtual Threads - here is my Java Virtual Thread introduction : Text: https://jenkov.com/tutorials/java-concurrency/java-virtual-threads.html Video: https://www.youtube.com/watch?v=kirhhcFAGB4&list=PLL8woMHwr36EDxjUoCzboZjedsnhLP1j4&index=4 Java ExecutorService Videos: https://www.youtube.com/watch?v=Nb85yJ1fPXM&list=PLL8woMHwr36EDxjUoCzboZjedsnhLP1j4&index=15 https://www.youtube.com/watch?v=MB_qCXBSgK0&list=PLL8woMHwr36EDxjUoCzboZjedsnhLP1j4&index=16 Java Concurrency tutorials: Text: https://jenkov.com/tutorials/java-concurrency/index.html Video: https://www.youtube.com/watch?v=mTGdtC9f4EU&list=PLL8woMHwr36EDxjUoCzboZjedsnhLP1j4&index=1

Comment