This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
RE: [PATCH] boehm gc support for CRIS
- From: Simon Posnjak <simon dot posnjak at siol dot net>
- To: "Boehm, Hans" <hans dot boehm at hp dot com>,Hans-Peter Nilsson <hans-peter dot nilsson at axis dot com>
- Cc: tromey at redhat dot com, Ranjit Mathew <rmathew at gmail dot com>,green at redhat dot com, GCJ Patches <java-patches at gcc dot gnu dot org>
- Date: Thu, 28 Oct 2004 11:42:54 +0200
- Subject: RE: [PATCH] boehm gc support for CRIS
- Organization: ACME
- References: <94505C6A90226146BD46E87646B4402F4A9101@cacexc11.americas.cpqcorp.net>
V Äet, 28.10.2004 ob 02:55 je Boehm, Hans napisal(a):
> The GC patch was already sent to me earlier. My apologies for being
> slow.
>
> It mostly looks good to me. Thanks. I do have a couple of concerns about the
> test_and_set implementation:
>
> - Can we identify the original author of the GC_test_and_set code,
> and get his/her OK? Is it Ulrich Drepper? The collector distribution
> itself falls under an MIT style license, and linuxthreads is LGPL, if
> I understand correctly? There is sufficiently little code that I'm
> not sure we absolutely need permission, but I'd like to be sure,
> and get it. (I'd also like to carry this forward to gc7.0 by
> putting similar code in the atomic_ops package. The atomic instruction
> support in the GC itself is going away.)
I think the author of this code is Hans-Peter Nilsson. So he is the
person to ask.
> - Is it possible to add a comment how this works? It looks like this
> assumes a uniprocessor (probably safe for now), and tests a flag which
> is set on context switch? Am I reading that correctly?
Hans-Peter should have some more info on this, but CRIS is only
uniprocessor platform so this should be OK.
Regards Simon