At 02:06 PM 4/23/2001 -0700, you wrote:
>I still use Vectors/Hashtables when I need thread safety, though. Does
>anyone know if it's faster/better to wrap one of the new collection classes
>in a Collections.synchronized* class instead? It just seems easier to me to
>use Vectors/Hashtables, since they're already internally synchronized.

I do this when I'm concerned about concurrency and am using
a non-thread-safe class, and although I can't say its any more
than an aside comment (in other words I've hardly done exhaustive
testing) I haven't had any problems.


Reply via email to