Java ForkJoinPool

  Рет қаралды 7,725

Jakob Jenkov

Jakob Jenkov

Күн бұрын

Пікірлер: 31
@itsahandle
@itsahandle 3 ай бұрын
Jakob you have destroyed the fear of multithreading in my mind, I hope this video and the channel gets the popularity it deserves ❤
@JakobJenkov
@JakobJenkov 2 ай бұрын
Thank you very much !! :-)
@jay-j6l
@jay-j6l Ай бұрын
Love your style of teaching, you break down a concept and make it easy to follow with your diagrams and then showing the code demos.
@JakobJenkov
@JakobJenkov Ай бұрын
Thank you !! I am glad it is helpful to you !! 😊😊
@qurdedu4032
@qurdedu4032 7 ай бұрын
Jakob, you are purely a Legend. thanks a lot for the great explanations.
@JakobJenkov
@JakobJenkov 7 ай бұрын
You are welcome! ... and thank you for your kind words! :-)
@zeinabrahmani-tn8rq
@zeinabrahmani-tn8rq 6 ай бұрын
I've watched all of your videos on Concurrency and Multithreading, and they were incredibly informative. Thank you!
@JakobJenkov
@JakobJenkov 6 ай бұрын
Thank you very much !! I am happy you found them useful ! 😊
@farrukhahmedsid
@farrukhahmedsid Ай бұрын
Bro, your tutorials are amazing.. Waiting for Structured Concurrency in java..
@JakobJenkov
@JakobJenkov Ай бұрын
Thank you 😊😊 Structured concurrency is an interesting area !! ... let me see when I have time for it 😊
@loyyeeko1231
@loyyeeko1231 7 ай бұрын
you make Java so much more interest! thank you!
@JakobJenkov
@JakobJenkov 7 ай бұрын
Thanks a lot for your kind words !! 😊 ... and you are welcome !! 😊
@TECH_KG
@TECH_KG 5 ай бұрын
Thanks for this amazing playlist and clear explanations. Learned a lot from this!!!
@JakobJenkov
@JakobJenkov 5 ай бұрын
You are very welcome! :-)
@sengao7062
@sengao7062 6 ай бұрын
Lengend Jakob thanks for your explaination on java topics with deep insight
@personalaccount1515
@personalaccount1515 7 ай бұрын
Excellent tutorial, thank you very much!
@JakobJenkov
@JakobJenkov 7 ай бұрын
You are welcome ! ... and thank you for your kind feedback! :-)
@kimo8154
@kimo8154 7 ай бұрын
as always, you're the best. thank you very much ^^
@JakobJenkov
@JakobJenkov 7 ай бұрын
Thank you very much :-)
@avalagum7957
@avalagum7957 5 ай бұрын
At 4:30, I thought that there was a single queue holding tasks. The executor choose a free thread to execute the next task in that single queue. In what executor, do we have a queue of tasks for each thread?
@JakobJenkov
@JakobJenkov 5 ай бұрын
Some ExecutorService implementations have a single queue holding tasks internally. But the ForkJoinPool uses multiple queues.
@pouyarezaei-u6n
@pouyarezaei-u6n 7 ай бұрын
if Java was the Kingdom Jakob would be the King
@JakobJenkov
@JakobJenkov 7 ай бұрын
I am probably more of an ambassador ;-)
@adhiprasetyo4052
@adhiprasetyo4052 7 ай бұрын
should I learn operating system before learning java thread ?
@JakobJenkov
@JakobJenkov 7 ай бұрын
No, that should not be necessary :-)
@kdziolak
@kdziolak 7 ай бұрын
Thanks for the brilliant video, as always, clear and concise. I am still curious how does the async IO, CPU sharing look like. In the examples all the tasks were completed e2e. Is there a correct way of using IO, to make sure it's FJP compliant?
@JakobJenkov
@JakobJenkov 7 ай бұрын
There is no special way of using IO required. If you use blocking IO from within an ForkJoinPool, the thread will be blocked until the IO call finishes. The ForkJoinPool might start up extra threads in that case, but I don't actually know.
@kdziolak
@kdziolak 7 ай бұрын
@@JakobJenkov Thanks for the reply. I'll do some reasearch, as you point our yourself, there should be a way to get multiple tasks to share the same CPU.
@avs6362
@avs6362 6 ай бұрын
Best videos I've seen. I'm wondering why so low views !?
@JakobJenkov
@JakobJenkov 6 ай бұрын
Thank you !! You will have to ask KZbin about the views... who knows how the KZbin algorithms actually work... 🤷‍♂️
Java Lock
28:51
Jakob Jenkov
Рет қаралды 48 М.
Race Conditions in Java Multithreading
22:39
Jakob Jenkov
Рет қаралды 35 М.
Война Семей - ВСЕ СЕРИИ, 1 сезон (серии 1-20)
7:40:31
Семейные Сериалы
Рет қаралды 1,6 МЛН
УНО Реверс в Амонг Ас : игра на выбывание
0:19
Фани Хани
Рет қаралды 1,3 МЛН
Understanding how ForkJoinPool works
13:16
Defog Tech
Рет қаралды 124 М.
The Java Memory Model - The Basics
23:41
Jakob Jenkov
Рет қаралды 135 М.
Async Method Execution in Spring
33:12
Developer Hut
Рет қаралды 191
Thread Signaling in Java
23:26
Jakob Jenkov
Рет қаралды 13 М.
Single-threaded and Same-threaded designs
18:01
Jakob Jenkov
Рет қаралды 13 М.
Java Concurrency and Multithreading - Introduction
14:32
Jakob Jenkov
Рет қаралды 268 М.
Java Generics
52:23
Jakob Jenkov
Рет қаралды 5 М.
Thread Congestion in Java
17:24
Jakob Jenkov
Рет қаралды 10 М.
Deadlock Prevention in Java
17:49
Jakob Jenkov
Рет қаралды 16 М.
Java Threads - Creating, starting and stopping threads in Java
17:14
Война Семей - ВСЕ СЕРИИ, 1 сезон (серии 1-20)
7:40:31
Семейные Сериалы
Рет қаралды 1,6 МЛН