This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Synchronization article on developerWorks
- To: Tom Tromey <tromey at redhat dot com>
- Subject: Re: Synchronization article on developerWorks
- From: Jeff Sturm <jsturm at one-point dot com>
- Date: Tue, 24 Jul 2001 18:47:08 -0400 (EDT)
- cc: Bryce McKinlay <bryce at waitaki dot otago dot ac dot nz>, java at gcc dot gnu dot org
On 24 Jul 2001, Tom Tromey wrote:
> 3.1 is generally better than 3.0 (not sure why). However, I expected
> more dramatic results from 3.1-with-sync.
Using your bench.java, I see similar results on alpha, e.g. a factor of
22/18 for 3.0.1/3.1 in the empty call.
I don't understand how this author got the results he did. It doesn't
look like he made his source available.
These locks have no contention though. On a test program with high
contention I observed a 2-3x speedup with hash synchronization.
Jeff