Adrian Crum wrote: > --- On Wed, 2/17/10, doo...@apache.org <doo...@apache.org> wrote: >> From: doo...@apache.org <doo...@apache.org> >> Subject: svn commit: r911084 - >> /ofbiz/trunk/framework/base/src/org/ofbiz/base/util/TimeDuration.java >> To: comm...@ofbiz.apache.org >> Date: Wednesday, February 17, 2010, 9:20 AM >> Author: doogie >> Date: Wed Feb 17 17:20:57 2010 >> New Revision: 911084 >> >> URL: http://svn.apache.org/viewvc?rev=911084&view=rev >> Log: >> Switch fromLong to use the 7-arg constructor, instead of >> setting each >> field directly. > > Java Concurrency In Practice, Section 3.2.
Get jiggy with it. I read that book 2.5 years ago, in july. You'll have to read it a second time to fully appreciate it. I was attempting to debug deadlocks and memory leaks in webslinger, commons-vfs, and ofbiz. While googgling around, I kept running into references to that book. After purchase, I went thru and removed all synchronized areas from ofbiz, implemented non-blocking, rewrote the commons-vfs manager from scratch to modern standards(it had several deep-set problems), etc. I absolutely love that book.