Open GoogleCodeExporter opened 9 years ago
Original comment by yan...@google.com
on 28 Oct 2011 at 4:46
Original comment by yan...@google.com
on 29 Feb 2012 at 1:13
Original comment by yan...@google.com
on 27 Mar 2012 at 2:22
Original comment by rmis...@google.com
on 14 May 2012 at 2:14
Original comment by yan...@google.com
on 30 May 2012 at 10:05
Original comment by yan...@google.com
on 2 Aug 2012 at 2:29
Original comment by yan...@google.com
on 26 Sep 2012 at 12:14
Original comment by yan...@google.com
on 24 Jan 2013 at 2:12
I don't think there's an actual bug here. We picked NULL_CACHE to synchronize
on, but we could have picked any object. But I agree it's a bit more of a
puzzler than it ought to be from a style point of view. My preference would be
to re-write it using an explicit ReentrantLock:
http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/locks/ReentrantLoc
k.html
Original comment by yan...@google.com
on 9 Apr 2013 at 1:38
Original issue reported on code.google.com by
yan...@google.com
on 16 Aug 2011 at 2:23