Re: CopyOnWriteHashMap (application to OSGi services)
- From: Gerhard Aschauer <g.aschauer@xxxxxxxxx>
- Date: Fri, 18 Jan 2008 13:46:44 +0100
Lew wrote:
Philipp wrote:Lew,Lew wrote:Gerhard Aschauer wrote:see: http://gee.cs.oswego.edu/dl/classes/EDU/oswego/cs/dl/util/concurrent/ConcurrentHashMap.html
Is this a better choice than
<http://java.sun.com/javase/6/docs/api/java/util/concurrent/ConcurrentHashMap.html>
?
If so, why?
Thanks to both of you. That is in fact what I'm looking for... especially the backport to older JVMs at
http://backport-jsr166.sourceforge.net/index.php
Based on the Javadocs and unless Gerhard answers my questions, I'm concluding that one should use the standard API class and not the custom New York EDU version.
The documentation of the EDU version indicates that it's a pre-Java 5 implementation and doesn't understand the current memory model. They also talk about it as a replacement for Hashtable of all things, and the documentation says nothing about generics.
I don't know why anyone would recommend this EDU version over the Java version.
because the Op said that he must be using V1.3.
Regards,
Gerhard
.
- Follow-Ups:
- References:
- CopyOnWriteHashMap
- From: Philipp
- Re: CopyOnWriteHashMap (application to OSGi services)
- From: Philipp
- Re: CopyOnWriteHashMap (application to OSGi services)
- From: Gerhard Aschauer
- Re: CopyOnWriteHashMap (application to OSGi services)
- From: Lew
- Re: CopyOnWriteHashMap (application to OSGi services)
- From: Philipp
- Re: CopyOnWriteHashMap (application to OSGi services)
- From: Lew
- CopyOnWriteHashMap
- Prev by Date: Re: do you declare your superclass "throws"??
- Next by Date: Invitation to join RupeeMail!
- Previous by thread: Re: CopyOnWriteHashMap (application to OSGi services)
- Next by thread: Re: CopyOnWriteHashMap (application to OSGi services)
- Index(es):
Relevant Pages
|