Java ExecutorService Using Virtual Threads

preview_player
Показать описание
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

If you are new to Java Virtual Threads - here is my Java Virtual Thread introduction :

Text:

Video:

Java ExecutorService Videos:

Java Concurrency tutorials:

Text:

Video:
Рекомендации по теме
Комментарии
Автор

The main take-away for me was the reminder that even virtual threads don't have a turn-key solution for communicating the result of their Runnables as data, back to their submitting thread.

netom
Автор

Thank you very much Jakob, very informative and useful 😊😊

khusanbekgafurov
Автор

It's such a good video, Thank you so much @Jakob in my opinion Java is a powerful language.

luisfernandogomez
Автор

Hello there @Jakob, I must say I do enjoy your videos quite a lot. May I request that you do one on “records”

adamkabena
Автор

Thanks you @Jakob for such a wonderful video. Can you please give dart language a try. I personally feel dart is what java should have been. Can you please give it a try.

sanathkumaru
Автор

Aren't you planning a more deep tutorial covering multiple things in a course?

zsoltfehervari