Date: Fri, 24 Jan 2003 06:29:40 +0600 From: Max Khon <fjoe@iclub.nsu.ru> To: Bill Huey <billh@gnuppy.monkey.org> Cc: Greg Lewis <glewis@eyesbeyond.com>, freebsd-java@freebsd.org Subject: Re: /usr/local/include/utils.h Message-ID: <20030124062940.A44070@iclub.nsu.ru> In-Reply-To: <20030123214624.GA2919@gnuppy.monkey.org>; from billh@gnuppy.monkey.org on Thu, Jan 23, 2003 at 01:46:24PM -0800 References: <20030123194719.B25462@iclub.nsu.ru> <20030124044501.B76567@misty.eyesbeyond.com> <20030124033021.A38610@iclub.nsu.ru> <20030123214624.GA2919@gnuppy.monkey.org>
next in thread | previous in thread | raw e-mail | index | archive | help
hi, there! On Thu, Jan 23, 2003 at 01:46:24PM -0800, Bill Huey wrote: > > I have another (not thoroughly tested) patch to make > > -DWITH_NATIVE_THREADS compile on post-4.7 system > > > > A replacement for j2sdk1.3.1/src/solaris/hpi/native_threads/src/threads_bsd.c > > attached. It will not compile on 4.7-RELEASE and earlier, probably > > some #ifdef munging should be added but I haven't bumped __FreeBSD_version > > after pthreads API modifications. Probably 470101 could be used > > to filter out most pre-4.7 installations and it will safely work > > for 4.8-RELEASE and later (including 5.0-RELEASE and later). > > Native threads don't fully work anyway and it was largely a stepping > stone for HotSpot, so the key component for native threading is to > get HotSpot fully compiling with the latest changes. I have a libc_r > jmp_buf thingy in the works that suppose to fix the problems with 1.4 > J2SE along with 1.3.1, but I haven't finished it yet. I slacked off > waiting for the new ucontext stuff to be committed for libc_r. This file (the file I attached) contains jmp_buf stuff + use of pthread_get_attr_np to get thread stack address and its size in portable (between libc_r versions) way. I think it could be useful for 1.3.1 HotSpot too. > > I haven't looked at PR posted today that fixes something related > > to native threads (by the way is it really necessary to use > > native threads for hotspot?) -- it's hard to read .uue > > Yes, HotSpot is pure native threading. I mean: is jdk13 built with -DWITH_NATIVE_THREADS required for HotSpot? I saw this requirement on some Japanese sites. /fjoe To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030124062940.A44070>