tag:blogger.com,1999:blog-8712770457197348465.post881827057415893717..comments2024-03-28T02:47:19.159-07:00Comments on Javarevisited: Top 10 Java ConcurrentHashMap Interview Questions with Answers [UPDATED]javin paulhttp://www.blogger.com/profile/15028902221295732276noreply@blogger.comBlogger6125tag:blogger.com,1999:blog-8712770457197348465.post-42140177866428329952018-06-22T19:08:35.498-07:002018-06-22T19:08:35.498-07:00> are weekly consistent
are weakly consistent> are weekly consistent<br /> are weakly consistentAlexhttps://www.blogger.com/profile/12622963471100017661noreply@blogger.comtag:blogger.com,1999:blog-8712770457197348465.post-86369802127680296842018-06-12T10:05:01.754-07:002018-06-12T10:05:01.754-07:00Since jdk9 ConcurrentHashMap is not divided on seg...Since jdk9 ConcurrentHashMap is not divided on segments at all (here stated that map is divided on 16 segments by default). <br />In fact, each bucket (or bin) has its own lock (first element in bucket serves as lock by itself), but it is only used when there are any hash collisions. <br />If no collisions than lock-free approach is used.Anonymoushttps://www.blogger.com/profile/14315556842703710898noreply@blogger.comtag:blogger.com,1999:blog-8712770457197348465.post-90491835151327332892018-03-05T09:25:24.602-08:002018-03-05T09:25:24.602-08:00Can someone please confirm this?Can someone please confirm this?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8712770457197348465.post-77457427745815271512018-02-26T09:49:52.031-08:002018-02-26T09:49:52.031-08:00I think you note about read + write is incorrect, ...I think you note about read + write is incorrect, reads are not at all blocks whether or not some other thread is writing in same segment.<br />Anonymoushttps://www.blogger.com/profile/03372614742700609977noreply@blogger.comtag:blogger.com,1999:blog-8712770457197348465.post-64999531269077506262017-08-14T07:52:51.611-07:002017-08-14T07:52:51.611-07:00Hello praveen, you can use lables for that e..g if...Hello praveen, you can use lables for that e..g if you click on the lables in this article about collection interview questions, all post with that topic will come up and you can navigate them using paginated links. javin paulhttps://www.blogger.com/profile/15028902221295732276noreply@blogger.comtag:blogger.com,1999:blog-8712770457197348465.post-2710662463545289302017-08-13T23:45:57.582-07:002017-08-13T23:45:57.582-07:00Your blog is wonderful.. But we need to search all...Your blog is wonderful.. But we need to search all the concepts you shared for particular topic. ex.. If i want to learn on topic Multi threading<br /> the concepts and examples i need to search throughout your blogs.Hadoop-Knowledgehttps://www.blogger.com/profile/00645150087052185125noreply@blogger.com