Re: [picocontainer-dev] Re: [picocontainer-scm] [3768] java/2.x/trunk/pico/container/src/test/org/picocontainer/behaviors: reentrant lock stuff - alternative to synchronized
Paul Hammant <[email protected]>
| Newsgroups | gmane.comp.java.picocontainer.devel |
|---|---|
| Message-ID | <[email protected]> |
There is some suggestion that the concurrent way is faster - http:// www.ibm.com/developerworks/java/library/j-jtp10264/ But that may not always be so. - Paul On Jul 28, 2007, at 4:02 PM, peter royal wrote: > On Jul 28, 2007, at 2:05 PM, paul-yCVjj/[email protected] wrote: >> reentrant lock stuff - alternative to synchronized > > is it worth having both? looks too similar. i'm not sure there's > going to be any sort of performance benefit of one over the other > (synchronized is probably faster) > > -pete > > -- > (peter.royal|osi)@pobox.com - http://fotap.org/~osi >