This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Synchronization article on developerWorks
- To: Jeff Sturm <jsturm at one-point dot com>
- Subject: Re: Synchronization article on developerWorks
- From: Bryce McKinlay <bryce at waitaki dot otago dot ac dot nz>
- Date: Wed, 25 Jul 2001 11:16:41 +1200
- Cc: Tom Tromey <tromey at redhat dot com>,java at gcc dot gnu dot org
On Wednesday, July 25, 2001, at 10:47 AM, Jeff Sturm wrote:
> I don't understand how this author got the results he did. It doesn't
> look like he made his source available.
Trying to measure the cost of synchronization by timing a synchronized
vs un-synchronized call means very little anyhow. A better test would be
to measure the performance of some real-world single-threaded
application with synchronization enabled vs the same application with
syncronization removed. Of course, turning off synchronization is not
easy with most JVMs.
regards
Bryce.