<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-2010391136868522221.post5120887992812088503..comments</id><updated>2011-07-22T21:09:31.602+05:30</updated><category term='Code'/><category term='Server-Side'/><category term='Frameworks'/><category term='desktop'/><category term='browser'/><category term='Eclipse'/><category term='Garbage Collection'/><category term='Debugging'/><category term='Logging'/><category term='Java'/><category term='Idea'/><category term='Google'/><category term='IM'/><category term='Concurrency'/><title type='text'>Comments on Thoughts on Java, Java EE and web services development: Do your Iterators always fail-fast?</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://thoughts.bharathganesh.com/feeds/5120887992812088503/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2010391136868522221/5120887992812088503/comments/default'/><link rel='alternate' type='text/html' href='http://thoughts.bharathganesh.com/2009/11/do-your-iterators-always-fail-fast.html'/><author><name>Bharath Ganesh</name><uri>http://www.blogger.com/profile/09439245318320080949</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>6</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-2010391136868522221.post-5693966192108013477</id><published>2011-07-22T21:09:31.602+05:30</published><updated>2011-07-22T21:09:31.602+05:30</updated><title type='text'>The survey is good. Thanks for news. To protect yo...</title><content type='html'>The survey is good. Thanks for news. To protect yourself from future losses try &lt;a href="http://homeownersinsurancem.Com" rel="nofollow"&gt;compare homeowners insurance quotes&lt;/a&gt; by zip code to save more on home insurance policies.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2010391136868522221/5120887992812088503/comments/default/5693966192108013477'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2010391136868522221/5120887992812088503/comments/default/5693966192108013477'/><link rel='alternate' type='text/html' href='http://thoughts.bharathganesh.com/2009/11/do-your-iterators-always-fail-fast.html?showComment=1311349171602#c5693966192108013477' title=''/><author><name>Joshua Smith</name><uri>http://www.blogger.com/profile/09956978234577871712</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://thoughts.bharathganesh.com/2009/11/do-your-iterators-always-fail-fast.html' ref='tag:blogger.com,1999:blog-2010391136868522221.post-5120887992812088503' source='http://www.blogger.com/feeds/2010391136868522221/posts/default/5120887992812088503' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1816572378'/></entry><entry><id>tag:blogger.com,1999:blog-2010391136868522221.post-1570679361220790397</id><published>2010-01-21T12:30:32.242+05:30</published><updated>2010-01-21T12:30:32.242+05:30</updated><title type='text'>Hello!
You may probably be very curious to know ho...</title><content type='html'>Hello!&lt;br /&gt;You may probably be very curious to know how one can manage to receive high yields on investments.  &lt;br /&gt;There is no initial capital needed. &lt;br /&gt;You may commense  to get income with a sum  that usually is spent&lt;br /&gt;for  daily food, that&amp;#39;s 20-100 dollars.&lt;br /&gt;I have been participating  in one project  for several years, &lt;br /&gt;and I&amp;#39;ll be glad to let you know my secrets at my blog.&lt;br /&gt; &lt;br /&gt;Please visit my pages and send me private message to get the info.&lt;br /&gt;&lt;br /&gt;P.S. I earn 1000-2000 per day now.&lt;br /&gt;&lt;br /&gt;http://theinvestblog.com [url=http://theinvestblog.com]Online Investment Blog[/url]</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2010391136868522221/5120887992812088503/comments/default/1570679361220790397'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2010391136868522221/5120887992812088503/comments/default/1570679361220790397'/><link rel='alternate' type='text/html' href='http://thoughts.bharathganesh.com/2009/11/do-your-iterators-always-fail-fast.html?showComment=1264057232242#c1570679361220790397' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://thoughts.bharathganesh.com/2009/11/do-your-iterators-always-fail-fast.html' ref='tag:blogger.com,1999:blog-2010391136868522221.post-5120887992812088503' source='http://www.blogger.com/feeds/2010391136868522221/posts/default/5120887992812088503' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-321458001'/></entry><entry><id>tag:blogger.com,1999:blog-2010391136868522221.post-1252963650788536088</id><published>2009-11-15T01:21:42.288+05:30</published><updated>2009-11-15T01:21:42.288+05:30</updated><title type='text'>&lt;i&gt;Unsynchronized Collection don&amp;#39;t need to gua...</title><content type='html'>&lt;i&gt;Unsynchronized Collection don&amp;#39;t need to guard for concurrent threads: they are not thread-safe anyway. &lt;/i&gt;&lt;br /&gt;&lt;br /&gt;True, but their iterator operations claim to throw an exception in case of modification. So its a kind of optimistic approach taken by the iterators. And that&amp;#39;s &lt;i&gt;fail-fast&lt;/i&gt; &lt;br /&gt;&lt;br /&gt;&lt;i&gt;Synchronized Collections update modCount consistently (all operations are synchronized) and the field doesn&amp;#39;t need to be volatile.&lt;br /&gt;&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;No, even in the case of Synchronized collections only the add, remove, clear operations are synchronized. The iterator operations are not synchronized, So there would be visibility issues with the value of the modCount field. The thread that does the iterator operations might not work with the updated value of the modCount field.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2010391136868522221/5120887992812088503/comments/default/1252963650788536088'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2010391136868522221/5120887992812088503/comments/default/1252963650788536088'/><link rel='alternate' type='text/html' href='http://thoughts.bharathganesh.com/2009/11/do-your-iterators-always-fail-fast.html?showComment=1258228302288#c1252963650788536088' title=''/><author><name>Bharath</name><uri>http://thoughts.bharathganesh.com</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://thoughts.bharathganesh.com/2009/11/do-your-iterators-always-fail-fast.html' ref='tag:blogger.com,1999:blog-2010391136868522221.post-5120887992812088503' source='http://www.blogger.com/feeds/2010391136868522221/posts/default/5120887992812088503' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-2002699258'/></entry><entry><id>tag:blogger.com,1999:blog-2010391136868522221.post-252668495236047386</id><published>2009-11-13T22:50:38.036+05:30</published><updated>2009-11-13T22:50:38.036+05:30</updated><title type='text'>The mechanism isn&amp;#39;t primarily useful for concu...</title><content type='html'>The mechanism isn&amp;#39;t primarily useful for concurrent threads, but for nested calls:&lt;br /&gt;&lt;br /&gt;for (Object o : list) {&lt;br /&gt;  ...&lt;br /&gt;  list.remove(0);&lt;br /&gt;  ...&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;Unsynchronized Collection don&amp;#39;t need to guard for concurrent threads: they are not thread-safe anyway. Synchronized Collections update modCount consistently (all operations are synchronized) and the field doesn&amp;#39;t need to be volatile.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2010391136868522221/5120887992812088503/comments/default/252668495236047386'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2010391136868522221/5120887992812088503/comments/default/252668495236047386'/><link rel='alternate' type='text/html' href='http://thoughts.bharathganesh.com/2009/11/do-your-iterators-always-fail-fast.html?showComment=1258132838036#c252668495236047386' title=''/><author><name>Odi</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://thoughts.bharathganesh.com/2009/11/do-your-iterators-always-fail-fast.html' ref='tag:blogger.com,1999:blog-2010391136868522221.post-5120887992812088503' source='http://www.blogger.com/feeds/2010391136868522221/posts/default/5120887992812088503' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-559871839'/></entry><entry><id>tag:blogger.com,1999:blog-2010391136868522221.post-3203787844273887308</id><published>2009-11-13T20:17:24.335+05:30</published><updated>2009-11-13T20:17:24.335+05:30</updated><title type='text'>Yeah, the point here is you should not be relying ...</title><content type='html'>Yeah, the point here is you should not be relying on ConcurrentModificationException in your code.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2010391136868522221/5120887992812088503/comments/default/3203787844273887308'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2010391136868522221/5120887992812088503/comments/default/3203787844273887308'/><link rel='alternate' type='text/html' href='http://thoughts.bharathganesh.com/2009/11/do-your-iterators-always-fail-fast.html?showComment=1258123644335#c3203787844273887308' title=''/><author><name>Bharath</name><uri>http://www.bharathganesh.com</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://thoughts.bharathganesh.com/2009/11/do-your-iterators-always-fail-fast.html' ref='tag:blogger.com,1999:blog-2010391136868522221.post-5120887992812088503' source='http://www.blogger.com/feeds/2010391136868522221/posts/default/5120887992812088503' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-133058202'/></entry><entry><id>tag:blogger.com,1999:blog-2010391136868522221.post-5447415494789401105</id><published>2009-11-13T20:10:06.775+05:30</published><updated>2009-11-13T20:10:06.775+05:30</updated><title type='text'>If the iterator is certainly going to fail a littl...</title><content type='html'>If the iterator is certainly going to fail a little later in a some few cases, I can&amp;#39;t see why this is an issue. Its OK imo to treat failfast as a soft constraint.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2010391136868522221/5120887992812088503/comments/default/5447415494789401105'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2010391136868522221/5120887992812088503/comments/default/5447415494789401105'/><link rel='alternate' type='text/html' href='http://thoughts.bharathganesh.com/2009/11/do-your-iterators-always-fail-fast.html?showComment=1258123206775#c5447415494789401105' title=''/><author><name>Dhananjay Nene</name><uri>http://blog.dhananjaynene.com</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://thoughts.bharathganesh.com/2009/11/do-your-iterators-always-fail-fast.html' ref='tag:blogger.com,1999:blog-2010391136868522221.post-5120887992812088503' source='http://www.blogger.com/feeds/2010391136868522221/posts/default/5120887992812088503' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-327308171'/></entry></feed>
