|
--- On Wed, 2/17/10, [hidden email] <[hidden email]> wrote:
> From: [hidden email] <[hidden email]> > Subject: svn commit: r911084 - /ofbiz/trunk/framework/base/src/org/ofbiz/base/util/TimeDuration.java > To: [hidden email] > 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. Awesome book. |
|
Adrian Crum wrote:
> --- On Wed, 2/17/10, [hidden email] <[hidden email]> wrote: >> From: [hidden email] <[hidden email]> >> Subject: svn commit: r911084 - /ofbiz/trunk/framework/base/src/org/ofbiz/base/util/TimeDuration.java >> To: [hidden email] >> 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. |
|
Adam Heath wrote:
> Adrian Crum wrote: >> --- On Wed, 2/17/10, [hidden email] <[hidden email]> wrote: >>> From: [hidden email] <[hidden email]> >>> Subject: svn commit: r911084 - /ofbiz/trunk/framework/base/src/org/ofbiz/base/util/TimeDuration.java >>> To: [hidden email] >>> 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. Unless a person is willing to spend time reading the entire Java specification, there is no way to know those things without a book like that. |
|
Adrian Crum wrote:
> Adam Heath wrote: >> Adrian Crum wrote: >>> --- On Wed, 2/17/10, [hidden email] <[hidden email]> wrote: >>>> From: [hidden email] <[hidden email]> >>>> Subject: svn commit: r911084 - >>>> /ofbiz/trunk/framework/base/src/org/ofbiz/base/util/TimeDuration.java >>>> To: [hidden email] >>>> 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. > > Unless a person is willing to spend time reading the entire Java > specification, there is no way to know those things without a book like > that. And it's written in a way that is understandable, unlike stereo instructions. |
| Free forum by Nabble | Edit this page |
