P
Peter Ashford
Hi All,
I've heard that the concurrency features in 1.5 are more efficient than
using synchronized(). Has anyone done any benchmarks on this?
I've got a class that is accessed from two threads, I was using
synchronized(my_private_lock_object) to prevent out-of-synch access to
crucial data, and I changed that to Lock.lock() - I'm wondering if it
makes any (even if minimal) speed difference?
Does anyone know of any really good, in depth articles about the new
primitives?
TIA
Peter.
I've heard that the concurrency features in 1.5 are more efficient than
using synchronized(). Has anyone done any benchmarks on this?
I've got a class that is accessed from two threads, I was using
synchronized(my_private_lock_object) to prevent out-of-synch access to
crucial data, and I changed that to Lock.lock() - I'm wondering if it
makes any (even if minimal) speed difference?
Does anyone know of any really good, in depth articles about the new
primitives?
TIA
Peter.