JSR 166 (Concurrency utilities)

Anthony Green green@redhat.com
Fri Aug 16 09:51:00 GMT 2002


FYI... the forwarded note at the bottom is good news.
It seems like we should just import this implementation into libgcj when
it is ready, much like we do the org.w3c package.
Doug, your current package says:
 Originally written by Doug Lea and released into the public domain.
 This may be used for any purposes whatsoever without acknowledgment.
 Thanks for the assistance and support of Sun Microsystems Labs,
 and everyone contributing, testing, and using this code.
Do you expect this to change for the final reference implementation?
ConcurrentHashMap.java says:
 Written by Doug Lea. Adapted from JDK1.2 HashMap.java and Hashtable.java
 which carries the following copyright:
 * Copyright 1997 by Sun Microsystems, Inc.,
 * 901 San Antonio Road, Palo Alto, California, 94303, U.S.A.
 * All rights reserved.
 *
 * This software is the confidential and proprietary information
 * of Sun Microsystems, Inc. ("Confidential Information"). You
 * shall not disclose such Confidential Information and shall use
 * it only in accordance with the terms of the license agreement
 * you entered into with Sun.
GCJ is a cleanroom project, and text like this raises red flags. I'm
hoping you can explain them away! It sounds like this is a derived from
Sun source code.
Thanks!
AG
-----Forwarded Message-----
From: Doug Lea <dl@cs.oswego.edu>
To: Anthony Green <green@redhat.com>
Subject: Re: JavaMemoryModel: JSR 166 (Concurrency utilities)
Date: 16 Aug 2002 09:00:25 -0400
>> Are you going to make an open source reference implementation available
> for use by Open Source java implementations, like gcj? (or other GNU
> Classpath users?) That would be really, really great.

Yes, although there are some JVM-level changes that are needed here as
well -- Three things need native support: Condition, AtomicX, and
Locks.attempt. I'd be really happy to work with anyone from gcj to
help guide them into good implementations.
Otherwise, my intent is to sometime (like maybe January) release a
transitional version of my concurrency package (with updated APIs)
that people can use until jsr-166 compliant versions exist. Nearly all
of the code in it (modulo some of the above native stuff that cannot
even be faked.) will be the actual reference implementation. And
similarly, later, for the TCK test classes etc.
Soud good?
-Doug


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /