This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Synchronization article on developerWorks




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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]