concurrency
From: Peter Ashford (me_at_here.there.com)
Date: 09/29/04
- Next message: Joshua: "Re: req.isRequestedSessionIdValid() and req.getSession()"
- Previous message: Mark Thornton: "Re: grassfire algorithm in java"
- Next in thread: xarax: "Re: concurrency"
- Reply: xarax: "Re: concurrency"
- Reply: Michael Borgwardt: "Re: concurrency"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 30 Sep 2004 09:48:11 +1200
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.
- Next message: Joshua: "Re: req.isRequestedSessionIdValid() and req.getSession()"
- Previous message: Mark Thornton: "Re: grassfire algorithm in java"
- Next in thread: xarax: "Re: concurrency"
- Reply: xarax: "Re: concurrency"
- Reply: Michael Borgwardt: "Re: concurrency"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]