This is the best video on CHM so far... Every video of yours are clear, to the point and well structured.. You explain very well.. This is a very dependable channel.. Thank you
KIndly Please share the program to understand the concurrent hashmap where it is not allowed null and concurrency level program as well with bit more explanation.
Ma'am, You have mentioned t2 can't do read or write on segment 1 at 10:50 . But at 17:00 you said read can happen anywhere, segment does not matter. I'm confused. It would a great help if you help me understand.
Read doesn't need any lock. One thread is writing on a segment at a time another thread can read that same segment. Last update value will be returned by get() method.
Wonderful and really great video , can you please share me some good collection books . So I can refer And please make more video on OOPS and collection
Mam in 13.26 timing.. In that slide t1 check the condition and t2 delete the key u said that na.... My question is t2 for delete operation is our assumption?? Is it correct mam??
You are creating an Iterator reference before using it. So while you're traversing the Map and changing it, your Iterator reference is still the old one which was created using the Map which had lesser values.
Hello Mam if null is not allowed the it suppose thread1 is checking so we have lock on that segment then how can thread2 delete it so there can’t be the case where null means thread2 deleted it hence null should be allowed?
This is the Best video on Concurrent HashMap on whole internet. We cant find such explanation anywhere else, Thanks alot Mam 😊
Thanx Akshay 😊😊
This is the best video on CHM so far... Every video of yours are clear, to the point and well structured.. You explain very well.. This is a very dependable channel.. Thank you
Thanks Rituparna. This means a lot 🙂🙂👍👍. Thanks a ton 🙂
thank you so much for clearing all the doubts
One important point you forgot to add that we can change legacy collections structure through iterator remove method.
Thank you so much for upolading such a useful videos...this is helping a lot to clear my logic
Thanks Suryadoy. 🙂🙂👍👍
nice explaination
Thanks 😊
Yes please make video thanks in advance
🙂👍
KIndly Please share the program to understand the concurrent hashmap where it is not allowed null and concurrency level program as well with bit more explanation.
Sure we will do that Hemanta 👍👍🙂🙂
Nice and expecting more videos like this
Sure Murali 🙂👍
Clear explanation .. Thanks
Thanks 🙂
Please make a video on why null are not allowed on concurrent hashmap.
is there any video for segmentation which u have made.. wanted for refernece
👍
Great explanation...
Thanks 🙂
Really helpful.
Can you please make part2 of concurrent collections
Sure Prinkpal 👍👍🙂🙂
Great explaination but can you please explain modcount concept in a bit more detail
Sure llora we will do that👍👍
very nice explanation
Thanks Raghava🙂👍
Can u explain reentrant lock clearly
Ma'am, You have mentioned t2 can't do read or write on segment 1 at 10:50 . But at 17:00 you said read can happen anywhere, segment does not matter. I'm confused. It would a great help if you help me understand.
Read doesn't need any lock. One thread is writing on a segment at a time another thread can read that same segment. Last update value will be returned by get() method.
Wonderful and really great video , can you please share me some good collection books . So I can refer
And please make more video on OOPS and collection
Please create and upload part 2
Sure we will create one soon
Please provide the copyonwritearraylist internal working
That will helps us more...
Mam in 13.26 timing.. In that slide t1 check the condition and t2 delete the key u said that na.... My question is t2 for delete operation is our assumption?? Is it correct mam??
Yes
@@CodeDecode thank u mam.😊
Make some real time projects mam and how to integrate front end and back-end .. And deployment of project and bug fixing concepts pls
Sure Thulasi 👍👍
Hi, why won't we get ConcurrentModificationException if we are iterating through ForEach loop and updating map during iterating..?
Can you please give a snapshot of your code so that we can explain you
I didn't get the fact since ambiguity is not allowed so concurrent hashmap does not allow null value. But why is hashmap allowing ambiguity.
Nice explanation....
Thanks 🙂👍
@@CodeDecode if possible please also make a Video on creating Custom annotations in java....
Nice topic , yes we will create one🙂🙂👍👍
Can you please add one video on deployment process
Sure Shiji 👍👍
If one thread is accessing the value then on the same bucket other thread cannot modify right then how will it return null?
Mam can you please make video on tricky interview questions of OS🙏
Sure we will plan and upload it soon
As for read ,there is no lock.
Then say s0 is locked for writing then why does reading not allowed in s0?
Program why null not allows in concurrent hashmapcode while allowed in hashmap please explain by debugging code
Sure
Can you create a separate video to explain concurrency level
Sure Tulasi 👍👍
@@CodeDecode Thank you for considering
Hi. Can u pls make a video on hibernate pls cover n+1 problem and cache concepts pls
Very nice topic viji. Will create video on that very soon.
If we are iterating through forEach, we will not get ConcurrentModificationException but we will get if iterate through iterator, why ?
You are creating an Iterator reference before using it. So while you're traversing the Map and changing it, your Iterator reference is still the old one which was created using the Map which had lesser values.
can you please exp about semaphore
Sure Raghava
Please cover array list
Sure Venkat 👍👍
Hello Mam if null is not allowed the it suppose thread1 is checking so we have lock on that segment then how can thread2 delete it so there can’t be the case where null means thread2 deleted it hence null should be allowed?
Thread1(first one) is just reading, so no lock will be acquired. Hence the second thread (the one writing) can come and delete the value.
create a video at time 13:25
we don't have chance to give more than one like otherwise my likes count will be one thousad for every videos...
This means a lot Sekhar 🙏🙂👍👍👍👍
👍
🙂