classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Synchronization in java.util.Collections


From: Dalibor Topic
Subject: Synchronization in java.util.Collections
Date: Fri, 15 Nov 2002 06:21:55 -0800 (PST)

Hi,

I've looked over Classpath's implementation of
synchronized* methods in java.util.Collections, and I
don't understand why the synchronized wrapper classes
sync on their own specific mutex field instead of
syncing on themselves?

i.e. why not have all the wrapper methods synchronized
and drop the mutex field? That's how kaffe does it.

best regards,

dalibor topic

__________________________________________________
Do you Yahoo!?
Yahoo! Web Hosting - Let the expert host your site
http://webhosting.yahoo.com




reply via email to

[Prev in Thread] Current Thread [Next in Thread]