This is the mail archive of the
mailing list for the Java project.
Re: Segment Register thread descriptor (was Re: Jv_AllocBytesChecked)
- To: tromey at redhat dot com
- Subject: Re: Segment Register thread descriptor (was Re: Jv_AllocBytesChecked)
- From: Bryce McKinlay <bryce at albatross dot co dot nz>
- Date: Thu, 04 Jan 2001 14:15:37 +1300
- CC: "'java-discuss at sources dot redhat dot com'" <java-discuss at sources dot redhat dot com>
- References: <140D21516EC2D3119EE700902787664401E3A7DC@hplex1.hpl.hp.com> <3A43F0C4.AB38213D@appnet.com> <3A4FCB17.E6743D67@albatross.co.nz> <3A4FE3C0.E1AEB2E2@albatross.co.nz> <email@example.com>
Tom Tromey wrote:
> Bryce> Could we just grab the entire linuxthreads sysdeps directory
> Bryce> and stick it in libjava to get its compare_and_swap definitions
> Bryce> and THREAD_SELF macros? Then we won't even need to worry about
> Bryce> writing special code for different architectures - at least for
> Bryce> linux platforms.
> The only concerns I have are licensing and divergence (== maintenance).
Maintainance shouldn't be much of a problem - I doubt that these things
change frequently. We'll need to change the i386 definition of
THREAD_SELF a little I think, but for most other platforms we won't. "cvs
import" can keep track of any local changes.
I assume that licensing concern means the LGPL vs GPL+Exception thing?
What will it take to resolve that - approval from the authors of these
[ bryce ]