Improved Java Collection APIs

David Holmes David.Holmes at oracle.com
Fri Nov 19 22:39:14 UTC 2010


John Platts said the following on 11/20/10 01:49:
> Here are improvements that I really want to see to Java Collection APIs:
> - Additional concurrent collection classes. Some of these classes
> will require synchronized modification, while supporting thread-safe
> unsynchronized access and concurrent iteration.

That's a somewhat vague request. If you have specific ideas/suggestions 
here feel free to raise them on the concurrency-interest at cs.oswego.edu 
mailing list where Doug Lea and the JSR-166 EG will see them (along with 
a large chunk of the community interested in concurrent collections).

> - Support for collections synchronized on a read-write lock.

Again can you be more specific? Read-write locks sound theoretically 
useful for some collection operations but the devil is in the details. 
Unlike synchronized collections you can't necessarily just use a wrapper.

David Holmes



More information about the core-libs-dev mailing list