From owner-freebsd-java Thu Jan 23 16:31:26 2003 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 29F1437B401 for ; Thu, 23 Jan 2003 16:31:25 -0800 (PST) Received: from mail.nsu.ru (mx.nsu.ru [193.124.215.71]) by mx1.FreeBSD.org (Postfix) with ESMTP id 38F3843F13 for ; Thu, 23 Jan 2003 16:31:23 -0800 (PST) (envelope-from fjoe@iclub.nsu.ru) Received: from drweb by mail.nsu.ru with drweb-scanned (Exim 3.20 #1) id 18brjB-0003AG-00; Fri, 24 Jan 2003 06:29:49 +0600 Received: from iclub.nsu.ru ([193.124.215.97] ident=root) by mail.nsu.ru with esmtp (Exim 3.20 #1) id 18brjA-0003A0-00; Fri, 24 Jan 2003 06:29:48 +0600 Received: from iclub.nsu.ru (fjoe@localhost [127.0.0.1]) by iclub.nsu.ru (8.12.6/8.12.6) with ESMTP id h0O0TgRV044213; Fri, 24 Jan 2003 06:29:42 +0600 (NS) (envelope-from fjoe@iclub.nsu.ru) Received: (from fjoe@localhost) by iclub.nsu.ru (8.12.6/8.12.6/Submit) id h0O0TepM044212; Fri, 24 Jan 2003 06:29:40 +0600 (NS) Date: Fri, 24 Jan 2003 06:29:40 +0600 From: Max Khon To: Bill Huey Cc: Greg Lewis , freebsd-java@freebsd.org Subject: Re: /usr/local/include/utils.h Message-ID: <20030124062940.A44070@iclub.nsu.ru> References: <20030123194719.B25462@iclub.nsu.ru> <20030124044501.B76567@misty.eyesbeyond.com> <20030124033021.A38610@iclub.nsu.ru> <20030123214624.GA2919@gnuppy.monkey.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20030123214624.GA2919@gnuppy.monkey.org>; from billh@gnuppy.monkey.org on Thu, Jan 23, 2003 at 01:46:24PM -0800 X-Spam-Status: No, hits=-3.0 required=5.0 tests=IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES,SPAM_PHRASE_00_01, USER_AGENT,USER_AGENT_MUTT version=2.43 X-Envelope-To: billh@gnuppy.monkey.org, glewis@eyesbeyond.com, freebsd-java@freebsd.org Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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