<?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-2116663104953998850.post6919010233170252568..comments</id><updated>2009-11-07T20:28:46.080-08:00</updated><title type='text'>Comments on UnintentionalObjectRetention: WideFinder and Java</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://unintentionalobjectretention.blogspot.com/feeds/6919010233170252568/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2116663104953998850/6919010233170252568/comments/default'/><link rel='alternate' type='text/html' href='http://unintentionalobjectretention.blogspot.com/2007/10/widefinder-and-java.html'/><author><name>UnintentionalObjectRetention</name><uri>http://www.blogger.com/profile/04178094582352669104</uri><email>noreply@blogger.com</email></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-2116663104953998850.post-3135699572996140748</id><published>2009-11-07T20:28:46.080-08:00</published><updated>2009-11-07T20:28:46.080-08:00</updated><title type='text'>I found this site using [url=http://google.com]goo...</title><content type='html'>I found this site using [url=http://google.com]google.com[/url] And i want to thank you for your work. You have done really very good site. Great work, great site! Thank you!&lt;br /&gt;&lt;br /&gt;Sorry for offtopic</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2116663104953998850/6919010233170252568/comments/default/3135699572996140748'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2116663104953998850/6919010233170252568/comments/default/3135699572996140748'/><link rel='alternate' type='text/html' href='http://unintentionalobjectretention.blogspot.com/2007/10/widefinder-and-java.html?showComment=1257654526080#c3135699572996140748' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://unintentionalobjectretention.blogspot.com/2007/10/widefinder-and-java.html' ref='tag:blogger.com,1999:blog-2116663104953998850.post-6919010233170252568' source='http://www.blogger.com/feeds/2116663104953998850/posts/default/6919010233170252568' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-2116663104953998850.post-7912611196126865909</id><published>2008-06-11T13:51:00.000-07:00</published><updated>2008-06-11T13:51:00.000-07:00</updated><title type='text'>Ehm,why wouldnt you show the imports in your post ...</title><content type='html'>Ehm,&lt;BR/&gt;&lt;BR/&gt;why wouldnt you show the imports in your post ? It would give us instant gratification ;)&lt;BR/&gt;&lt;BR/&gt;T.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2116663104953998850/6919010233170252568/comments/default/7912611196126865909'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2116663104953998850/6919010233170252568/comments/default/7912611196126865909'/><link rel='alternate' type='text/html' href='http://unintentionalobjectretention.blogspot.com/2007/10/widefinder-and-java.html?showComment=1213217460000#c7912611196126865909' title=''/><author><name>Tom</name><uri>http://www.blogger.com/profile/06990620942734499385</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://unintentionalobjectretention.blogspot.com/2007/10/widefinder-and-java.html' ref='tag:blogger.com,1999:blog-2116663104953998850.post-6919010233170252568' source='http://www.blogger.com/feeds/2116663104953998850/posts/default/6919010233170252568' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-2116663104953998850.post-6505127061976965754</id><published>2007-10-10T03:53:00.000-07:00</published><updated>2007-10-10T03:53:00.000-07:00</updated><title type='text'>I sent the code on a couple of days ago. Hopefully...</title><content type='html'>I sent the code on a couple of days ago. Hopefully it hasn't been eaten or something.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2116663104953998850/6919010233170252568/comments/default/6505127061976965754'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2116663104953998850/6919010233170252568/comments/default/6505127061976965754'/><link rel='alternate' type='text/html' href='http://unintentionalobjectretention.blogspot.com/2007/10/widefinder-and-java.html?showComment=1192013580000#c6505127061976965754' title=''/><author><name>UnintentionalObjectRetention</name><uri>http://www.blogger.com/profile/04178094582352669104</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='04284116292613518316'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://unintentionalobjectretention.blogspot.com/2007/10/widefinder-and-java.html' ref='tag:blogger.com,1999:blog-2116663104953998850.post-6919010233170252568' source='http://www.blogger.com/feeds/2116663104953998850/posts/default/6919010233170252568' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-2116663104953998850.post-6335185398462747245</id><published>2007-10-05T13:51:00.000-07:00</published><updated>2007-10-05T13:51:00.000-07:00</updated><title type='text'>Shoot me the code with the imports and I'll give i...</title><content type='html'>Shoot me the code with the imports and I'll give it a whack on the big iron.  NetBeans couldn't auto-figure-out the imports and my Java is getting rusty... tim dot bray at sun dot com</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2116663104953998850/6919010233170252568/comments/default/6335185398462747245'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2116663104953998850/6919010233170252568/comments/default/6335185398462747245'/><link rel='alternate' type='text/html' href='http://unintentionalobjectretention.blogspot.com/2007/10/widefinder-and-java.html?showComment=1191617460000#c6335185398462747245' title=''/><author><name>Tim</name><uri>http://www.blogger.com/profile/02509044056955394983</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://unintentionalobjectretention.blogspot.com/2007/10/widefinder-and-java.html' ref='tag:blogger.com,1999:blog-2116663104953998850.post-6919010233170252568' source='http://www.blogger.com/feeds/2116663104953998850/posts/default/6919010233170252568' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-2116663104953998850.post-5540277289327110834</id><published>2007-10-03T13:52:00.000-07:00</published><updated>2007-10-03T13:52:00.000-07:00</updated><title type='text'>It is equivalent, but it probably isn't faster.Ato...</title><content type='html'>It is equivalent, but it probably isn't faster.&lt;BR/&gt;AtomicIntegers aren't as cheap to create as regular Integers, so we probably don't want to create lots of them unnecessarily. You would expect most articles to have multiple entries in the log file, so you would be creating a lot of objects to throw away immediately. That probably isn't the best idea even for regular Integers. putIfAbsent probably holds onto a lock for ever so slightly longer than a get, so that might make a difference too.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2116663104953998850/6919010233170252568/comments/default/5540277289327110834'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2116663104953998850/6919010233170252568/comments/default/5540277289327110834'/><link rel='alternate' type='text/html' href='http://unintentionalobjectretention.blogspot.com/2007/10/widefinder-and-java.html?showComment=1191444720000#c5540277289327110834' title=''/><author><name>UnintentionalObjectRetention</name><uri>http://www.blogger.com/profile/04178094582352669104</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='04284116292613518316'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://unintentionalobjectretention.blogspot.com/2007/10/widefinder-and-java.html' ref='tag:blogger.com,1999:blog-2116663104953998850.post-6919010233170252568' source='http://www.blogger.com/feeds/2116663104953998850/posts/default/6919010233170252568' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-2116663104953998850.post-7273580496144220808</id><published>2007-10-03T13:03:00.000-07:00</published><updated>2007-10-03T13:03:00.000-07:00</updated><title type='text'>Friend, is this code :AtomicInteger currentCount =...</title><content type='html'>Friend, is this code :&lt;BR/&gt;AtomicInteger currentCount = counts.get(key);&lt;BR/&gt;if (currentCount == null) {&lt;BR/&gt; currentCount = counts.putIfAbsent(key, new AtomicInteger(0));&lt;BR/&gt;}                    currentCount.incrementAndGet();&lt;BR/&gt;&lt;BR/&gt;not equivalent to this :&lt;BR/&gt;AtomicInteger currentCount = counts.putIfAbsent(key, new AtomicInteger(0);&lt;BR/&gt;currentCount.incrementAndGet();&lt;BR/&gt;&lt;BR/&gt;only, errr, slower?</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2116663104953998850/6919010233170252568/comments/default/7273580496144220808'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2116663104953998850/6919010233170252568/comments/default/7273580496144220808'/><link rel='alternate' type='text/html' href='http://unintentionalobjectretention.blogspot.com/2007/10/widefinder-and-java.html?showComment=1191441780000#c7273580496144220808' title=''/><author><name>paulo</name><uri>http://www.blogger.com/profile/02374231047153225371</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://unintentionalobjectretention.blogspot.com/2007/10/widefinder-and-java.html' ref='tag:blogger.com,1999:blog-2116663104953998850.post-6919010233170252568' source='http://www.blogger.com/feeds/2116663104953998850/posts/default/6919010233170252568' type='text/html'/></entry></feed>